+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Combining IF Functions together....

  1. #1
    Registered User
    Join Date
    12-11-2009
    Location
    Delta,BC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Arrow Combining IF Functions together....

    Hi Everyone,

    Today in my data management class, my teacher gave us this file and also gave us a workbook to work through. I'm on the part where they ask to use the IF function to determine what to charge the customer for delivery. It looks up the correct value in the data table and returns the price dependant on how many miles entered. They started me off with =IF(C6<=5,0_to_5,(IF...). I attempted to combine it and add the rest of the categories but it only returns "FALSE" instead of a price. Below is a link to the workbook I have, so you can see what I'm doing wrong. Thanks for all your help in advance!

    Excel file: ftp://public@ftp1.freeservz.com/Furniture Sales.xls
    Last edited by qhx398; 12-11-2009 at 03:37 AM.

  2. #2
    Registered User
    Join Date
    12-11-2009
    Location
    Delta,BC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combining IF Functions together....

    Sorry everyone, the above link isnt clickable since the filename has a space in it. The forum won't let me edit my post so here's the new link....

    ftp://public@ftp1.freeservz.com/FurnitureSales.xls

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Combining IF Functions together....

    Hi qhx398,

    That link requires a password. This web forum does accommodate uploading of Excel files as attachments. It would be a preferred approach.

    Also, please ensure this isn't a homework assignment.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    12-11-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Combining IF Functions together....

    Quote Originally Posted by qhx398 View Post
    Hi Everyone,

    Today in my data management class, my teacher gave us this file and also gave us a workbook to work through. I'm on the part where they ask to use the IF function to determine what to charge the customer for delivery. It looks up the correct value in the data table and returns the price dependant on how many miles entered. They started me off with =IF(C6<=5,0_to_5,(IF...). I attempted to combine it and add the rest of the categories but it only returns "FALSE" instead of a price. Below is a link to the workbook I have, so you can see what I'm doing wrong. Thanks for all your help in advance!

    Excel file: ftp://public@ftp1.freeservz.com/Furniture Sales.xls
    Dear Friend,

    While the easy and correct way would have been to use 'vlookup' function, still I have done the same with 'IF' function.

    You can check the same in the attached file. You have to give further 'if' function ('if' within 'if') for getting the result
    Attached Files Attached Files

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Combining IF Functions together....

    Hi Ajmal Mirza
    The functions work for me or am I missing something?
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Combining IF Functions together....

    yep I'm missing a brain
    try
    =VLOOKUP(C6,F4:H10,3,1)

  7. #7
    Registered User
    Join Date
    12-11-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Combining IF Functions together....

    Yes.. I had wrongly put '2' instead of '3' in vlookup.

    The correct function would be =VLOOKUP(C6,F4:H10,3,1)

    The cell should now contain the same answer

    i.e.

    C8 = D8, where C8 is calculated by vlookup & D8 is calculated by 'if' function

+ 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