Closed Thread
Results 1 to 12 of 12

How can I copy desired cell content ?

  1. #1
    colwyn
    Guest

    How can I copy desired cell content ?

    I'm using Excel 2007 and s/s is 325501 rows deep. It consists of series of ranges between 4 and 30 rows deep.

    What I want to do is locate the next appearance of a name and copy its accompanying number.
    Doing this manully is not feasible, given the large size of the s/s .

    I enclose a small attachment showing what I am trying to achieve. For those who don't like opening attachments the wording in it is :

    The desired objective is to place in column Q the next appearing number in column L of the name in column C.
    The VLOOKUP formula in column Q presents the desired number but (problem!) presents a zero when next appearance = blank.
    When this happens I want the formula/code to repeatedly lookup the next appearance until it finds a number.
    Examples of where next numbers appear are given here in column R.


    If anyone can help me to this end I would be most grateful.
    Big thanks.
    Colwyn.
    Last edited by colwyn; 01-06-2009 at 03:24 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER not just ENTER. You will see { } brackets appear around the formula.

    Then copy down the column.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    colwyn
    Guest
    NBVC - thanks but it isn't working.Shows #VALUE! instead of desired result.
    Big thanks.
    Colwyn.
    Last edited by colwyn; 01-05-2009 at 11:38 AM.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Did you confirm the formula with CTRL+SHIFT+ENTER after entering the formula?

  6. #6
    colwyn
    Guest
    royUK - ???
    Am requesting programming help (code).
    What do you suggest I post on??
    Colwyn.

  7. #7
    colwyn
    Guest
    NBVC -yes.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by colwyn View Post
    NBVC -yes.
    See attached... It works fine for me.
    Attached Files Attached Files

  9. #9
    colwyn
    Guest
    NBVC - thanks again.
    Yes I can see but look, eg, row 119 "Betty" has 6 (Q119) when not appearing after row 119. This should show a blank. It's just when a final appearance is made that it goes wrong and shows a number instead of a blank. I think it refers back to first appearance?
    Big thanks.
    Colwyn.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.


    confirmed with CTRL+SHIFT+ENTER and copied down

  11. #11
    colwyn
    Guest
    NBVC - perfect!!
    Big thanks.
    Colwyn.

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Great!

    Can you please now mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

Closed 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