+ Reply to Thread
Results 1 to 8 of 8

Column References

Hybrid View

  1. #1
    Registered User
    Join Date
    05-07-2009
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    22

    Column References

    Hi all

    Is it possible for a column to have 2 columns as a reference

    Like this:-
    Book1.xlsx

    I would like this to be dynamic and not done with cut and paste. So as values are entered into Columns A and B then Column C is updated.

    Any help is greatly appreciated

    Thanks
    Last edited by bigbadlee; 06-02-2009 at 04:55 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Column References

    I n C2 and copy down as far as necessary,

    =IF(COUNT($A$2:$B$65536) < ROWS(C$1:C2) - 1, "", INDEX($A$2:$B$65536, INT(ROWS(C$1:C2)/2), MOD(ROWS(C$1:C2), 2) + 1) )
    Last edited by shg; 06-01-2009 at 05:58 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-07-2009
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    22

    Re: Column References

    Hi shg,

    Thanks for the reply, however when I've put the formula in C2 and copied down I get this result when column B is yet to have data input

    Book1.xlsx

    Is it something I've done ?

    Thanks again for the help

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Column References

    So your first example was incomplete?

    What's the next one?

  5. #5
    Registered User
    Join Date
    05-07-2009
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    22

    Red face Re: Column References

    No,No, Don't get me wrong. The formula is great!. I was only wondering why the zeroes appear?

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Column References

    It's the blank values in column B converted to a number (0).

+ 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