+ Reply to Thread
Results 1 to 18 of 18

VLOOKUP ? IFERROR ? CHOOSE ? Problem

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Hi,

    I am struggling to work the best way out to do this, I have one table that has a unique number for each entry, followed by a date, customer, Nett value, VAT, gross and number of other values. I am trying to do a backwards vlookup to the customer, so if it finds the customer it will display the date,
    =IFERROR(VLOOKUP($A$1,CHOOSE({1,2},Sheet1!C:C,Sheet1!B:B),2,),"")
    This same customer would have a number of entries in one month and I will need to find all the dates.
    In the next column if the is a value in the first column it returns the customer name relevant to that entry.
    =IFERROR(VLOOKUP($A$1,Sheet1!C:C,1),"")

    Your help and guidance would be really appreciated in helping me.
    Attached Files Attached Files
    Last edited by yesitskez; 05-17-2013 at 04:23 PM.

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

    Re: Help 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.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Help Please !!

    Sorry I have now changed it

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    for the first lookup you can use the INDEX/MATCH combo
    If I understand what you are trying to do there...

    =INDEX(Sheet1!B:B,MATCH(Sheet2!A1,Sheet1!C:C,0)) .... this goes in Sheet2!A3......HTH....I'm still working on the second part
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  5. #5
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Thank you judgeh59, I did try INDEX and MATCH but kept getting the same date repeating "02/04/13", when you look in sheet1 this customer has 21 entries on different dates.

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    so, actuallity you are trying to get every instance of what you put on Sheet2!A1....is that correct?

  7. #7
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Hi judgeh, Yes in the first column I am.

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    okay I have the first one done.....check it out....
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Spot on..... Thank you

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    My Pleasure....I assume you want to fill in the other columns with associated data....you should be able to use the first one to create the others....have fun....

  11. #11
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    I will, thanks very much.

  12. #12
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    no problem and thanks for the "*"

  13. #13
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    I just copied it across =IFERROR(INDEX(Sheet1!$B$2:$C$300,SMALL(IF(Sheet1!$C$2:$C$300=$A$1,ROW(Sheet1!$C$2:$C$300)),ROW(Sheet1!1:1)),2),""), but it did not match ? it returned "Climate-Control 2" ? where did I go wrong ?

  14. #14
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Can any one else advise on this ?

  15. #15
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Check out this solution for that columns....will there be other columns that you want looked up?....
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Hi Judgeh, Thank you for the help, Yes I would need to see any one of the columns from D to I in sheet 1.

  17. #17
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Think I got it.....
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    05-11-2013
    Location
    Shrewsbury
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: VLOOKUP ? IFERROR ? CHOOSE ? Problem

    Cant see wants gone wrong ?
    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)

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