+ Reply to Thread
Results 1 to 6 of 6

Possibly combining counta and vlookup

  1. #1
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101

    Possibly combining counta and vlookup

    Hiya,


    There is a table with headings A1:F1, and numerous rows underneath (A2:F20). Under the headings, some numbers or text are typed under the headings, but not all fields are completed (many are left blank).

    At a separate part of the spreadsheet, the user selects one of the headings (using a data validation list) in Cell B30. Then cells B32:B50 (corresonding to rows 2:20) will display "YES" if the corresponding field in the table HAS DATA ENTERED, and "NO" if it doesn't.

    Hope this makes sense and any help is much appreciated!

    Thanks
    Last edited by skatmandu2002; 01-20-2009 at 04:32 PM. Reason: I typed the wrong cell numbers

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949
    There is a table with headings A2:A10, and numerous rows underneath (B2:B20)
    That's not underneath, that's beside.

    You sure you got that typed out correctly?
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101
    Sorry, I did make a mistake. You can tell I have been quiet on the Excel front fro a couple of months. Here is the correct post (any admins can replace my first post with it):


    There is a table with headings A1:F1, and numerous rows underneath (A2:F20). Under the headings, some numbers or text are typed under the headings, but not all fields are completed (many are left blank).

    At a separate part of the spreadsheet, the user selects one of the headings (using a data validation list) in Cell B30. Then cells B32:B50 (corresonding to rows 2:20) will display "YES" if the corresponding field in the table HAS DATA ENTERED, and "NO" if it doesn't.

    Hope this makes sense and any help is much appreciated!

    Thanks

  4. #4
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949
    Something like this?
    Attached Files Attached Files

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    B32: =IF(LEN(HLOOKUP($B$30,$A$1:$F$20,ROWS(B$31:B32),0)),"YES","NO")

    copied down... should work...

    EDIT: mewingkitty's file is along similar lines
    Last edited by DonkeyOte; 01-20-2009 at 04:41 PM.

  6. #6
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101
    Cheers mate, that's grand. will help with many other things, I've come across similar problems numerous times.

+ 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