+ Reply to Thread
Results 1 to 4 of 4

Finding the position of data item in a list

  1. #1
    Registered User
    Join Date
    09-09-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Finding the position of data item in a list

    Hello,

    I'm trying to determine the position of an item in a data list depending on whether the item has been flagged or not. Hopefully the following should illustrate it a bit better.

    Column A - Data Items
    Apples
    Pears
    Bananas
    Oranges

    Column B - Included?
    No
    Yes
    No
    Yes

    Column C (formula driven) - position of item in list
    Blank cell
    1
    Blank cell
    2

    Any help greatly appreciated.

    Thanks!

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Finding the position of data item in a list

    Assuming your data is in the range A1:B5 use this in C2 and copy down

    =IF(B2="Yes",COUNTIF($B$1:B2,"Yes"),"")
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Finding the position of data item in a list

    Thanks Andy!

    Much appreciated :-)

  4. #4
    Registered User
    Join Date
    10-19-2011
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Finding the position of data item in a list

    Thank you Andy. I also encountered a similar problem
    Last edited by isadorasarah; 10-28-2011 at 05:28 AM.

+ 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