+ Reply to Thread
Results 1 to 5 of 5

IF function problem

  1. #1
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    IF function problem

    We need help on this problem please!

    Please see the attached file. Column B has a drop-down with three choices (RE/RO/RL).

    First we need a formula in CELL B1 that can identify the cell in COLUMN B that has RE or RO or RL (note: only one cell in B4:B22 will have RE or RO or RL) and store it in B1.

    Then we need a formula in CELL D1 that picks up the credit card number that corresponds to the RE or RO or RL in CELL B1.

    Thank you for the help!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF function problem

    Try this in B1...
    =INDEX($B$4:$B$10,MATCH({"RE","RO","RL"},$B$4:$B$10,-1))
    and then use this in D1...
    =INDEX($D$4:$D$10,MATCH({"RE","RO","RL"},$B$4:$B$10,-1))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF function problem

    I don't think that you need a formula in B1.

    Try this one in D1

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: IF function problem

    AWESOME! Thank you both for your response.

    We do want the value in B1, so we'll use Ford's solution.

    Thank you for the help!!

    ps Ford, I couldn't leave you a "reputation" ... you helped me recently and it won't let me leave another one for you ... sorry

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF function problem

    You are welcome and thanks for thefeed back & rep.

    In this case, you can use in B1.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In D1

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 10-20-2013, 07:16 PM
  2. Problem Inserting Round function into an IF function
    By Ash87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 05:37 PM
  3. Problem with IF/AND function
    By analyst1 in forum Excel General
    Replies: 2
    Last Post: 09-15-2010, 02:45 PM
  4. [SOLVED] Problem with IF function
    By [email protected] in forum Excel General
    Replies: 5
    Last Post: 01-19-2006, 12:15 PM
  5. Problem with a function
    By Boots in forum Excel General
    Replies: 3
    Last Post: 03-30-2005, 02:06 PM

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