+ Reply to Thread
Results 1 to 3 of 3

Cross referencing between columns and rows?

  1. #1
    Registered User
    Join Date
    11-01-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    52

    Question Cross referencing between columns and rows?

    I'm not sure how best to explain this so have attached a spreadsheet that I hope will make things a bit clearer. Basically what I have in column A is a list of names, and along the top in row 1, are dates on a month by month basis from column B to F.

    Underneath each month I have input a number.

    Now things get tricky, you'll see that Ive entered dates in column's H&I. These dates represent the date the figure 1st appeared for that particular name, and the last date in the range (regardless of whether a number appears or not)

    What I need to be able to do, is come up with a formula that "finds" the beginning date for each "name" and then initiates a sum from that date to the end of the range, eg =sum(b2:e2) for the 1st name.

    Any ideas?
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-29-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Cross referencing between columns and rows?

    I did this in two similar ways.

    first use MATCH to find the position of the date in the range of headings
    then use ROW() and ADDRESS to form the address of the cells
    then use INDIRECT to pass the newly formed cell range to either SUBTOTAL OR SUMIF
    Attached Files Attached Files
    Last edited by greg doman; 12-29-2011 at 02:10 PM.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Cross referencing between columns and rows?

    Hello Mike,

    Use SUMIF or SUMPRODUCT.

    G2, copy down.

    =SUMIF(B$1:E$1,">="&H2,B2:E2)-SUMIF(B$1:E$1,">"&I2,B2:E2)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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