+ Reply to Thread
Results 1 to 10 of 10

lookup and if function for complex question

Hybrid View

  1. #1
    Registered User
    Join Date
    02-12-2015
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2010 business
    Posts
    5

    Cool lookup and if function for complex question

    blinds price lookup.xlsx

    Sorry New to Excel. I need a lookup and if formula to return a price for a quote based on a few variables.

    Basically need to formula to fill the yellow column. First look at "Type" on Sheet one, If "R" the prices are on Sheet Two, If "v" prices are on sheet three and so on. AFter it determines the Sheet to reference for price list, then i need it to pick up the width and length of the blind and return the price. If need to select the higher figure. Hence if columns are 930 and 1080 and i put 960 it needs to go to 1080 column and so on.

    Hope that makes sense. Sorry had to retype as lost my original entry to edit! oops.
    Last edited by Meredith9053; 02-12-2015 at 01:14 AM. Reason: add attachment

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: lookup and if function for complex question

    Provide a workbook instead of PDF file, we won't be reconstructing the example.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: lookup and if function for complex question

    It's clear to me but I need Excel file to provide the solution.

    So please attach excel file instead of PDF


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    02-12-2015
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2010 business
    Posts
    5

    Re: lookup and if function for complex question

    quote template.xls

    Almost have it but not quite. there is still an error..... trying not to bother you! can you please have a look and see if you can work out what i did wrong! please!

  5. #5
    Registered User
    Join Date
    02-05-2015
    Location
    Edmonton, Alberta
    MS-Off Ver
    2013
    Posts
    70

    Re: lookup and if function for complex question

    sumcust2.xlsx


    index is the way to go with this one take a look and if you need help let me know

  6. #6
    Registered User
    Join Date
    02-12-2015
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2010 business
    Posts
    5

    Smile Re: lookup and if function for complex question

    Ok, My goodness. Thankyou so much! Its funny, when you see it, makes perfect sense, but I definately would not have come up with that.

    Thanks again, very much appreciated.

  7. #7
    Registered User
    Join Date
    02-05-2015
    Location
    Edmonton, Alberta
    MS-Off Ver
    2013
    Posts
    70

    Re: lookup and if function for complex question

    quote template.xls

    Here i fixed it for you. sorry i couldnt get back sooner but work was hectic you can hide the Vlook up columns to make your quotes look nice. if this doesnt work i will keep this open for you




    EDIT you need to change D2401 and E2401 on the look up table both to 5
    Last edited by daveisalwayshere; 02-12-2015 at 05:43 PM. Reason: for info

  8. #8
    Registered User
    Join Date
    02-12-2015
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2010 business
    Posts
    5

    Re: lookup and if function for complex question

    I cannot put in to words my thanks. This is what i love about forums. I had no clue how to do this, then you lay it out for me on one table, and now i have something to follow and see where you got your info and how you did it. I just (and you should be proud as you taught me!) put in a new table and lookup and all looks lovely.

    Was going to ask one thing, although not important, but would be nice. on my sheet when i print i have all these ugly #N/A on the cells that done get used.... (not on your formulas but on my two.) how did you do that?

    You know the other things that bothered me. When I made a new sheet i brought all the codes over to the next sheet, and when i went down to copy the formula, it not only changed the reference cell from c6 to c7 but also the lookup cells which will remain the same. (ie:

    =LOOKUP(C6,brickcourse!D5:AY5,brickcourse!D6:AY6)
    next row down =LOOKUP(C7,brickcourse!D5:AY5,brickcourse!D6:AY6)
    next row down =LOOKUP(C8,brickcourse!D5:AY5,brickcourse!D6:AY6)

    but mine was doing this when i copied the code:
    =LOOKUP(C6,brickcourse!D5:AY5,brickcourse!D6:AY6)
    next row down =LOOKUP(C7,brickcourse!D6:AY6,brickcourse!D7:AY7)
    next row down =LOOKUP(C8,brickcourse!D7:AY7,brickcourse!D8:AY8)

    and so on.

    I changed them all manually, but is there a way to not have to. just out of interest.

    Also can i lock these formulas so they dont get accidently changed by the users and they muck it all up? lol

    Thanks again. I have a thirst for it now.


  9. #9
    Registered User
    Join Date
    02-05-2015
    Location
    Edmonton, Alberta
    MS-Off Ver
    2013
    Posts
    70

    Re: lookup and if function for complex question

    Ok.....IFERROR( before and ,"")after your formula will get rid of the nasty N/A or #value or #name ect.

    and to stop the numbers from changing when you drag it down put a $ before the number.

    If you want the column letter to not change when you drag the formula left or right you put the dollar sign before letter


    for example when doing Vlookups your formula should always have $ in them like this =vlookup(a2,sheet1!$a$2:$a$5000,2,False)

    if you want to see how it works put a word in A1 then in C3 put =A1, then drag it around, and then put in another cell =$a1 and drag that around....and finally =$a$1


    and yes you can lock your formulas( or rather lock the whole sheet and leave the data entry cells unlocked). highlight the data entry cells then right click on them go down to format cells then protection and uncheck the box that says locked, do this for all the cells you want people to enter data into. When you are done you can go to the review tab and protect the sheet. if you have random people using the sheet then i would put a password on it. if it is just the workers you know then i would leave the password blank.
    if you need more help send me a message on my profile page i would be glad to help

  10. #10
    Registered User
    Join Date
    02-12-2015
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2010 business
    Posts
    5

    Re: lookup and if function for complex question

    i typed a email to you through the friends thing, but unsure if you will get it, didnt have any confirmation???? anyway, if you did get the mail, here is the attachment,quote template two.xls, if you didnt get my query can you pm me and i will retype the thing! lol

    Thanks Dave.
    Meredith

+ 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. Troubles with Complex Lookup/INDEX function.... Way over my Head
    By gamerofthebeer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-01-2013, 10:26 AM
  2. Complex array lookup function?
    By hodeware in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-13-2011, 03:41 AM
  3. Excel 2007 : Somewhat complex lookup function
    By IdRatherBeCoding in forum Excel General
    Replies: 3
    Last Post: 06-22-2011, 03:12 PM
  4. A complex Lookup function
    By alexvl in forum Excel General
    Replies: 1
    Last Post: 02-10-2011, 04:54 AM
  5. Complex Lookup Question
    By DarkApollo in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-02-2007, 03:39 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