+ Reply to Thread
Results 1 to 5 of 5

Add two sets of data

  1. #1
    Registered User
    Join Date
    08-19-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Add two sets of data

    Hi,

    Here is an example of the problem I am having on a massive scale. I have two sets of data I want to add together. One is horizontal in cells C1 through Z1, and the other is vertical in cells A3 through A26. Once I get my initial formula in the first destination cell (C1 + A3), is there a way to replicate so that the next cell becomes D1 + A4, then next E1 + A5, and so on? I cannot transpose the data either. Thank you!!!

    Dan
    Last edited by djfriedman; 08-19-2010 at 10:46 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help adding two sets of data

    You don't specify if "the next cell" is to the right or below (i.e are you dragging down or across)?

    If down, then
    =INDEX($C$1:$Z$1,ROW(A1))+A3

    If across then
    =C1+INDEX($A$3:$A$26,COLUMN(A1))
    Is that what you are looking for?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

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

    Re: Help adding two sets of data

    Are you copying down?

    Is so:

    =SUM(INDEX(A:A,ROWS($A$1:$A3)),INDEX($1:$1,ROWS($A$1:$A3)))
    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.

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

    Re: Help adding two sets of data

    Good point Chemist... you don't need the first argument in the SUM to be evaluated... just A3 (if you are copying down)...

  5. #5
    Registered User
    Join Date
    08-19-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Help adding two sets of data

    Thank you - I'll try it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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