+ Reply to Thread
Results 1 to 8 of 8

IF function

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    IF function

    hey guys,

    i work with rooms types and each tyope has a number with it as posted belwo im trying to figure out how to do an IF function with all these compents. it only allows be to add a1 with b1 and c says true or false and doesnt include the number for the function.

    im trying to make a complex IF function.

    my blocks are
    a1=tc or fc,
    b1=L,M,2b,3b(these will be inputted so it could be either one)
    c1=time

    times are :
    TC FC
    L 0.27 0.8
    M 0.53 1.6
    2B 0.8 2.4
    3B 1.07 3.2

    the TC are row D and FC are row E

    now when i do the if staement i can only do a1 and b1 and c1= true and doesnt add the times, any way to do this, my other template adds them but its much m ore complex and ivlves 5 different spreadsheets.
    Last edited by HPIMICHAEL02; 02-24-2012 at 06:48 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: help with excel functions. please

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: help with excel functions. please

    Can you please post a sample workbook?

  4. #4
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: IF function

    TEST.xlsx

    here is the attached work book. i want it to find the value of "L""m""2b""3b" with the correct times, so far i have it measure if tc and fc equal the L value of .27 or .80
    Last edited by HPIMICHAEL02; 02-25-2012 at 02:13 PM. Reason: grammer

  5. #5
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: IF function

    i have been trying to use this type of if statment:

    =IF(I5="TC",VLOOKUP(C5,VALUE,2,FALSE),IF(I5="FC",VLOOKUP(C5,VALUE,3,FALSE),IF(I5="CO",VLOOKUP(C5,VALUE,4,FALSE),""))) but i get error messages- this sample code is not mine and was from another template at work

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: IF function

    try this in cell F4 i think this will do what you are looking for.

    =VLOOKUP($D4,$H:$K,MATCH($E4,$H$4:$K$4,0),0)
    Last edited by DGagnon; 02-25-2012 at 02:27 PM. Reason: Corrected Formula
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  7. #7
    Registered User
    Join Date
    02-24-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: IF function

    wow that was super fast and i was working on it for ever lol, however the FC doesnt read #N/A - value not availble error.

  8. #8
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: IF function

    i missed an option the first time around, i update the formula with an edit that should resolve that

    =VLOOKUP($D4,$H:$K,MATCH($E4,$H$4:$K$4,0),0)

+ 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