+ Reply to Thread
Results 1 to 3 of 3

8 Nested "IF" statements (Or alternative?)

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    Orlando
    MS-Off Ver
    O365
    Posts
    24

    8 Nested "IF" statements (Or alternative?)

    I have a workbook that can handle pricing rates for 4 different cities. I need to expand it to 8 different cities.

    I currently use a nested "IF" statement to determine the hourly rate for a process based on the selected city. I need to expand this to 8 possible cities and the correct hourly rate for each.

    I've attached a sample excel sheet that simplifies what I am trying to do. Please take a look, hopefully someone can offer a solution. It doesn't need to be "IF" statements if something better is out there.

    I would like to select city (1-8)

    Have the correct hourly rate pulled into the cell from the data page based on the selected city (1-8)

    If there is no hourly rate ($0.00) the cell should remain blank


    Thank you for taking a look!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,097

    Re: 8 Nested "IF" statements (Or alternative?)

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

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: 8 Nested "IF" statements (Or alternative?)

    Please try

    =INDEX('Hourly Rates'!C8:U14,,MATCH("City "&'1'!E5,'Hourly Rates'!C7:U7,))
    Attached Files Attached Files

+ 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. [SOLVED] Looking for alternative to large "nested if" statement
    By the_boo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-16-2017, 07:29 AM
  2. [SOLVED] Replace a formula with numerous nested "IF" statements
    By vtentarelli in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-21-2017, 12:47 PM
  3. [SOLVED] Validation Box error with "over the limit" Nested IF Statements
    By jontherev in forum Excel General
    Replies: 1
    Last Post: 03-18-2014, 08:50 AM
  4. Replies: 1
    Last Post: 01-15-2014, 08:53 AM
  5. 7 nested IF statements with a SEARCH added IF(ISNUMBER(SEARCH({"INSUR","AP REFUND"}
    By michaelproctor001 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-10-2013, 02:13 PM
  6. [SOLVED] CPearson's "Assign Name" Workaround Solution for Too Many Nested IF Statements Not Working
    By justinbelkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-05-2013, 05:13 PM
  7. Alternative for using more nested "'IF"functions
    By Henryoung in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2013, 10:55 AM

Tags for this Thread

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