+ Reply to Thread
Results 1 to 4 of 4

If Statement and Lookup for a row

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    4

    If Statement and Lookup for a row

    I have a few rows of data with ~100 values in each row. The header (category) row contains names and the row below it has numerical values. I would like to write an if statement that looks at the 2nd row of numbers and then displays any "categories" where the number is less than 2. I know how to do this with a lookup function, but it would spread out my values across the 100 columns...not very presentable.

    Is there a way to display any categories that have values less than 2 in a nice chart or table that isn't 100 columns long?

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: If Statement and Lookup for a row

    Hi,

    Something like this what you're after? (The blue cells)

    Hope it helps
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-16-2014
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    4

    Re: If Statement and Lookup for a row

    That's perfect! I've never used array formulas until now, so thanks for the help!

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: If Statement and Lookup for a row

    You're welcome

    Please don't forget to mark this thread as solved (Thread Tools --> Mark As Solved), and please click on the * next to my post to say thanks

+ 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] If statement and/or lookup help
    By FirestarZA in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2014, 08:44 AM
  2. IF statement and lookup
    By mwhiteley in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-18-2013, 02:10 PM
  3. Lookup Statement
    By seanyc in forum Excel General
    Replies: 8
    Last Post: 06-21-2012, 08:01 AM
  4. if vs. lookup statement help.
    By wilson248 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-02-2011, 07:12 PM
  5. How to v lookup & use if statement?
    By floricita in forum Excel General
    Replies: 5
    Last Post: 09-03-2010, 08:05 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