+ Reply to Thread
Results 1 to 4 of 4

cell referencing and looping

Hybrid View

  1. #1
    Registered User
    Join Date
    02-16-2008
    Posts
    48

    cell referencing and looping

    hello all i have been trying to figure this one out for a while and maybe i am just an idiot:
    let's say i have the following"

    Bob(a1) 2(b1)
    Sarah(a2) 3(b2)
    Linda(a3) 1(b3)
    George(a4) 5(b4)
    Mark(a5) 4(b5)

    1(a10)
    2(a11)
    3(a12)
    4(a13)
    5(a14)

    I want to return a function in b10 (and eventually in b11:b14) that states the following: if b1=1 return the text in a1 if not then move to b2 and do the same until the b cell is equal to 1. Does this make sense?
    Chemmiah

  2. #2
    Registered User
    Join Date
    09-23-2007
    Location
    India
    Posts
    11

    Cell Reference & Looping

    Hi,

    I created a formula using Indirect and Address functions in the attached file.

    Please let me know, if this match your requirement?
    Attached Files Attached Files
    Thanks

    Vinay Shrivastava

    vinayshrivastava11@yahoo.co.in

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    This might do it.

    =INDEX(A:A,MATCH(B:B,1,0),1)
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Registered User
    Join Date
    02-16-2008
    Posts
    48

    Thanks

    Thanx all that is exactly what i need, wow the help on here is amazing!

+ 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