+ Reply to Thread
Results 1 to 13 of 13

Vlookup and Counta

  1. #1
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Vlookup and Counta

    I need a formula for sheet1 that will equal all text that is shown among columns P:U in sheet2 (if blank "") and referencing the number in column A for vlookup. any ideas?

    Book1.xlsx
    Last edited by grinch76; 02-10-2015 at 12:57 PM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup and Counta

    please attach sample excel file
    Press Alt X
    attach file.png
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    File Attached.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup and Counta

    B2=LOOKUP("ZZZZZZZZZZZZZZ",INDEX(Sheet2!$B$2:$G$7,MATCH($A2,Sheet2!$A$2:$A$7,0),),INDEX(Sheet2!$B$2:$G$7,MATCH($A2,Sheet2!$A$2:$A$7,0),))
    TRY THIS AND COPY TOWARDS DOWN
    IF IT IS NOT YOUR ARE LOOKING FOR GIVE YOUR EXPECTED RESULT MANUALLY

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,477

    Re: Vlookup and Counta

    Try in B2:

    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Quang PT

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup and Counta

    =COUNTA(INDEX(Sheet2!$B$2:$G$7,MATCH($A2,Sheet2!$A$2:$A$7,0),))
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    The first formula seemed to work on my example file but not on the one I'm working on. I've attached a new file to resemble closer the cells used. Also is there a way for the target cell to list more than one season? Perhaps separated with a comma?

    Book2.xlsx

  8. #8
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    I'm probably asking too much...
    The formula below worked but if you could help me adjust the formula for the expanded range in Book2 attached above.

    B2=LOOKUP("ZZZZZZZZZZZZZZ",INDEX(Sheet2!$B$2:$G$7,MATCH($A2,Sheet2!$A$2:$A$7,0),),INDEX(Sheet2!$B$2:$G$7,MATCH($A2,Sheet2!$A$2:$A$7,0),))

  9. #9
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    Still banging my head on this one...

  10. #10
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup and Counta

    b2=IFERROR(LOOKUP("ZZZZZZZZZZZZZZ",INDEX(IB!$P$2:$U$7000,MATCH($A2,IB!$A$2:$A$7000,0),)),"")
    try this and copy towards down

  11. #11
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    The problem here is that the Skus on the sheet IB may not be in the same order as sheet1. so using this formula is showing the wrong value. It needs to lookup with column A.

  12. #12
    Registered User
    Join Date
    02-10-2015
    Location
    here
    MS-Off Ver
    2013
    Posts
    7

    Re: Vlookup and Counta

    COPY New Product & Seasonals on Floor.xlsx

    Ok. New file attached. This is the actual file cleaned up. I think you'll see what I mean. Thanks again for your assistance.

  13. #13
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup and Counta

    Where it showing wrong answer, and what is your desired result and why

+ 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. [SOLVED] Combining VLOOKUP and COUNTA...
    By stephbrown in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-27-2013, 09:11 AM
  2. [SOLVED] Vlookup/counta to draw figures for certain names
    By crispybadger in forum Excel General
    Replies: 8
    Last Post: 08-24-2012, 06:07 AM
  3. Vlookup and CountA
    By Dannypak in forum Excel General
    Replies: 3
    Last Post: 01-12-2011, 03:20 PM
  4. Possibly combining counta and vlookup
    By skatmandu2002 in forum Excel General
    Replies: 5
    Last Post: 01-20-2009, 04:47 PM
  5. Counta,vlookup,match???
    By huntingbugg in forum Excel General
    Replies: 3
    Last Post: 03-01-2006, 08:40 AM

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