Results 1 to 11 of 11

Wanting to string multiple IF(AND) statements together

Threaded View

BBFDSue Wanting to string multiple... 03-27-2017, 01:22 PM
FDibbins Re: Wanting to string... 03-27-2017, 01:37 PM
FDibbins Re: Wanting to string... 03-27-2017, 01:38 PM
southward Re: Wanting to string... 03-27-2017, 01:40 PM
BBFDSue Re: Wanting to string... 03-27-2017, 01:44 PM
BBFDSue Re: Wanting to string... 03-27-2017, 01:41 PM
southward Re: Wanting to string... 03-27-2017, 01:47 PM
Pete_UK Re: Wanting to string... 03-27-2017, 01:50 PM
6StringJazzer Re: Wanting to string... 03-27-2017, 01:51 PM
BBFDSue Re: Wanting to string... 03-27-2017, 01:59 PM
Pete_UK Re: Wanting to string... 03-27-2017, 02:06 PM
  1. #1
    Registered User
    Join Date
    03-27-2017
    Location
    Penticton, BC
    MS-Off Ver
    2016
    Posts
    40

    Wanting to string multiple IF(AND) statements together

    I'm brand new on this forum, but an oldie to excel. However I'm completely stumped on this one.

    I have attached the spreadsheet. I have the following formula which is working just fine.

    =IF(AND(A12="Burnaby",C12="Diesel"),0.03046,0.03625)

    But I'd like to string together another IF(And) statement together as I have 3 conditions to be met rather than two.

    Background to the data:
    These are hauling rates. There are 3 conditions that determine price:
    1. The city it was picked up in (there are only two choices - which I think is important to note as maybe it can be simplified to a true false condition)
    2. The city where it is going (this is where it's tricky because there are 5 variables)
    3. If it is gas or diesel (Again there are only two choices - again the true false can maybe work)

    The above formula works if it is going to Penticton from Burnaby and decides the rate based upon gas or Diesel. How do I make it look at all of the variables? should I be throwing an "If(Or)" in there too, everything I've tried errors out on me...

    Or should this be done in VBA? In which case I will also need help - but that's a different forum - I will post the same question over there if we can't figure this out here

    The spreadsheet shows my starter formula, and there is a tab showing the rates (maybe I need to refer back to it in my formula?)

    Any help/tips/tricks would be lovely!

    Suzy
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Wanting to use text string as a numeric value...
    By Isophix in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-10-2016, 01:39 AM
  2. Wanting to run loop for multiple pages
    By VeryConfused in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2015, 10:35 AM
  3. [SOLVED] Wanting to do SUMIF across multiple columns
    By Vx22B012 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-30-2012, 11:50 AM
  4. Replies: 0
    Last Post: 10-10-2012, 10:11 AM
  5. Replies: 6
    Last Post: 04-21-2009, 07:00 PM
  6. Add multiple IF statements to a combined string of cells
    By littledobby in forum Excel General
    Replies: 1
    Last Post: 07-17-2008, 11:31 PM
  7. Replies: 0
    Last Post: 06-02-2006, 09:40 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