Page 1 of 3 123 LastLast
Results 1 to 10 of 27

V-lookup formula help

This is a discussion on V-lookup formula help within the Excel Questions forums, part of the Question Forums category; Guys, first of all i have received some help on this issue before but i am looking for another answer ...

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Posts
    155

    Default V-lookup formula help

    Guys, first of all i have received some help on this issue before but i am looking for another answer without having to do too much to my current worksheet since the data i will be using is being paste from another data source.

    Team consider this. on cell AS6 i want to be able to key in a region number,
    for example A0, A1 A2 etc. In this case i am using A0

    On cells AQ11 to AQ55 the rows are numbered 1 to 45.
    On cells AR11 to AR 55, i have this formula =TEXT(AQ11,0)&TEXT($AS$6,0)
    On cells AS11 to AS55, i have this formula =IF(ISERROR(VLOOKUP(AR11,Store,7,FALSE)),"",VLOOKUP(AR11,Store,7,FALSE))

    The issue that i have is when i key the region code (A0) nothing happens and i want to have a list of all stores for that region that starts with A0

    Below is the worksheet:
    ******** ******************** ************************************************************************>
    Microsoft Excel - CustSurvey4.xls___Running: xl97 : OS = Windows Windows 2000
    (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
    =

    AQ
    AR
    AS
    AT
    4
    **Enter*Region*
    5
    ***
    6
    DIVA0A0*
    7
    ***
    8
    ****
    9
    ****
    10
    **STOREDist
    11
    11A0*
    *
    12
    22A0*
    *
    13
    33A0*
    *
    14
    44A0*
    *
    15
    55A0*
    *
    Week*

    [HtmlMaker 2.20BETA] To see the formula in the cells just click on the cells hyperlink or click the Name box
    PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.


    This is the source sheet named store. The search is being done in column
    G and reports the store number which is in column H. For instance when i want to search for all stores in region A0 i should get 18 stores and the first store should be 6464, and if want to search for region A1 i should get store 2329 as the first store and so on...


    ******** ******************** ************************************************************************>
    Microsoft Excel - CustSurvey4.xls___Running: xl97 : OS = Windows Windows 2000
    (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
    =

    F
    G
    H
    I
    1
    **StoreDist
    2
    11A06464A0A
    3
    22A06531A0A
    4
    33A03530A0B
    5
    44A05460A0B
    6
    55A05617A0B
    7
    66A03013A0C
    8
    77A0714A0D
    9
    88A03090A0D
    10
    99A04569A0D
    11
    1010A01419A0E
    12
    1111A06480A0E
    13
    1212A05235A0F
    14
    1313A01494A0G
    15
    1414A02924A0H
    16
    1515A04654A0H
    17
    1616A02573A0I
    18
    1717A03105A0I
    19
    1818A02193A0J
    20
    **2329A1A
    21
    **6696A1B
    22
    **1014A1C
    Stores*

    [HtmlMaker 2.20BETA] To see the formula in the cells just click on the cells hyperlink or click the Name box
    PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.



    i haved use this method before and it works but for some reason is not working now thinking that probably i have an issue with one of the formulas or the way the search is being done.

  2. #2
    Board Regular
    Join Date
    Sep 2002
    Location
    Simsbury CT USA
    Posts
    1,532

    Default Re: V-lookup formula help

    Hi:
    Just a quick question ...did not see the parameters for the range "store"...?
    plettieri

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    155

    Default Re: V-lookup formula help

    Plettieri, i don't understand what you mean by parameters, i guess this is my problem. if you look at the second image it shows columns F, G, H, I. I guess the parameter is to search column G and list all stores in H when G is 1A0, 2A0, 3A0 etc.. The result needs to be listed starting in AS11 to AS55.

    I need a formula that i can place in cell AS11 that will look for those stores and i can drag it down to AS55.

    Hope this info helps..

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Newcastle, UK
    Posts
    1,174

    Default Re: V-lookup formula help

    Hello,

    You don't need to post to a new thread,

    Anyway, how about

    ******** ******************** ************************************************************************>
    Microsoft Excel - Book1___Running: xl2002 XP : OS = Windows XP
    (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
    =

    A
    B
    C
    D
    E
    F
    G
    H
    1
    **StoreDist****
    2
    11A06464A0A**A0*
    3
    22A06531A0A**6464714
    4
    33A03530A0B**65311419
    5
    44A05460A0B**35301494
    6
    55A05617A0B**54602193
    7
    66A03013A0C**56172573
    8
    77A0714A0D**30132924
    9
    88A03090A0D**7143013
    10
    99A04569A0D**30903090
    Sheet1*

    [HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
    PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.


    Any help?
    "Have a good time......all the time"
    Ian Mac

  5. #5
    Board Regular
    Join Date
    Feb 2002
    Posts
    155

    Default Re: V-lookup formula help

    Any other ideas using all above criterias. Tried Ian's suggestion and got some answers but not what i was looking for. Thanks!!

    As i placed A0 in cell AS6 , i need a formula in cell AS11 to AS55 that will search the tab "store" from Column G to I , you decide. The formula should generate a list of stores in AS11 to AS55. See below to view needed results
    as it should appear in my worksheet. If i typed A1 in cell AS6 i should get another list of stores etc, etc...

    Store

    6464
    6531
    3530
    5460
    5617
    3013
    714
    3090
    4569
    1419
    6480
    5235
    1494
    2924
    4654
    2573
    3105
    2193

    thanks for your support...

  6. #6
    Board Regular
    Join Date
    Jan 2004
    Location
    Fife, Scotland
    Posts
    1,354

    Default Re: V-lookup formula help

    Just a couple of thoughts

    VLOOKUP(AR11,Store,7,FALSE).

    This returns the value in the 7th column along in the range you have named "store" - does this range contain 7 columns?
    Also the lookup value must be in the left most column of the range named store - again does your data comply with this.

  7. #7
    Board Regular
    Join Date
    Jan 2004
    Location
    Fife, Scotland
    Posts
    1,354

    Default Re: V-lookup formula help

    Another thought. your original post, says "nothing happens" but the formula instructs that if an error is found return a blank - it might be an idea to remove that part of the formula to see what kind of error value is returned ie
    #name, value etc

  8. #8
    Board Regular
    Join Date
    Sep 2002
    Location
    Simsbury CT USA
    Posts
    1,532

    Default Re: V-lookup formula help

    Hi:

    in your formula =IF(ISERROR(VLOOKUP(AR11,Store,7,FALSE)),"",VLOOKUP(AR11,Store,7,FALSE))


    The parameter that I was looking for are the specifics of the named range "Store"...such as ae1:af50...or something like that....


    as Gord notes the 7th column in the range....that what I am trying to check for...

    plettieri

  9. #9
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Newcastle, UK
    Posts
    1,174

    Default Re: V-lookup formula help

    Might be an idea to say in what way it wasn't what you were looking for.

    I don't think you'll be able to use VLOOKUP for what you need!
    "Have a good time......all the time"
    Ian Mac

  10. #10
    Board Regular
    Join Date
    Feb 2002
    Posts
    155

    Default Re: V-lookup formula help

    Plettieri, the range to check for then is G1:H342 per the second image above.

    thank you...

    Roy

Page 1 of 3 123 LastLast

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
  •  


DMCA.com