+ Reply to Thread
Results 1 to 5 of 5

formula required to list cell values based on condition

  1. #1
    Registered User
    Join Date
    05-27-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    52

    formula required to list cell values based on condition

    Hi all,

    I have come across a situation where I am required to list all the category names in a cell where the corrosponding cell in not blank.
    attached is the sample file with expected result.

    any help is highly appriciated.

    Regards,
    Kiran
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formula required to list cell values based on condition

    First I think it is difficult to make a list with the expected result, if you don't add the imput data.

    2nd I think you better use a table structure and use a pivot table afterwards.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: formula required to list cell values based on condition

    You can get these in separate cells like this..

    =IF(COLUMNS($A1:A1)>COUNTIF($B3:$W3,"<>"),"",INDEX($B$2:$W$2,SMALL(INDEX(($B3:$W3<>"")*(COLUMN($B3:$W3)-COLUMN($B3)+1),),COUNTBLANK($B3:$W3)+COLUMNS($A1:A1))))


    Copy across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: formula required to list cell values based on condition

    Got the answer Kiranpat,
    check the attachment...



    Don't forget to click *
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-27-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: formula required to list cell values based on condition

    Thanks a bunch...
    This seems good...

+ 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. Complex Excel Formula Required for Obtaining Values based on Column & Row
    By adeel726 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2013, 04:36 PM
  2. Cell condition not accept values other than list of value
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2013, 01:39 PM
  3. [SOLVED] Concatenate cell values based on condition
    By alexandruc in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-06-2012, 07:01 AM
  4. Copy required data based on matching condition
    By raghav.k in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2011, 01:35 PM
  5. Replies: 4
    Last Post: 12-24-2008, 02:53 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