+ Reply to Thread
Results 1 to 4 of 4

Formula to show combine answer and text in 1 cell from 2 different

  1. #1
    Forum Contributor esupply's Avatar
    Join Date
    10-08-2009
    Location
    Virginia Beach, VA
    MS-Off Ver
    Excel 2007
    Posts
    114

    Formula to show combine answer and text in 1 cell from 2 different

    Hey all having a dummie moment on a formula here i need t oknow if i can have text added into 1 cell with having a formula with a answer in it as well,,,i have attached a sheet with better examples of what i mean,,,its easier to understand it by seeing it,,,,please help
    Attached Files Attached Files
    Last edited by esupply; 10-27-2009 at 03:52 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to show combine answer and text in 1 cell from 2 different

    =min(j3:n3) &" "&index($d$1:$h$1,match(min(d3:h3),d3:h3,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula to show combine answer and text in 1 cell from 2 different

    OK, Martin beat me to it....but if you want to keep the amount showing Dollars you can add in a DOLLAR function.

    Note that this will only show the first carrier if you have 2 or more tied for the lowest price....

    =DOLLAR(MIN(D3:H3))&" "&INDEX(D$1:H$1,MATCH(MIN(D3:H3),D3:H3,0))

  4. #4
    Forum Contributor esupply's Avatar
    Join Date
    10-08-2009
    Location
    Virginia Beach, VA
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: Formula to show combine answer and text in 1 cell from 2 different

    Ok thank both of you guys,,the formula worked great,,,BUTTTT both of you might have miss interpereted something wrong or maybe i worded it wrong ,,,but i fixed it ,,,thanks a bunch ,,,ill give props to both of you the formula turned out like this if your curious to what i actually meant,,,if i worded it wrong im sorry but both of you stepped up to it and had the same answer so it probably was me,,,sometime i think to fast and cant type fast enough,,,,thanks guys

    =MIN(J3:N3) &" "&INDEX($J$1:$N$1,MATCH(MIN(J3:N3),J3:N3,0))
    i just had to change the match cells

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1