Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Adding 4 cells next to eachother and then adding the following four     cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nadia.younus@googlemail.com - 28 May 2008 17:15 GMT
Hi,

I have two worksheets: 1 and 2. In worksheet 1, I have all my raw
data. In worksheet 2, I want to only display the sum of some of the
cells in worksheet 1

e.g. Worksheet 1

    A    B    C    D    E    F    G    H
1   10  12   25   36   87  21   36   32
2   25  55  88    63   54  74   25   33

Worksheet 2

                 A                                           B
1   (sum of cols A1:D1)               (sum of cols E1:H1)

Now, I can easily do a =SUM('Worksheet1'!A1:D1) and place the total
value in cell A1 of worksheet 2. What I then need is something which
will sum up the next four values in Worksheet 1 i.e. Cells E1:H1 and
place that total in Wroksheet 2's cell B1.

Highlighting and dragging the formula in worksheet 2 sums up B1:E1,
when I actually need it to sum up E1:H1. Does anyone know how I can do
this? I'm happy to use macros if you are able to guide me in the right
direction :)

Thanks,

Nadia
Otto Moehrbach - 28 May 2008 21:20 GMT
Maybe I'm missing something, but just write the formula in B1 to sum E1:H1
of sheet1 and drag that formula down.  HTH  Otto
> Hi,
>
[quoted text clipped - 26 lines]
>
> Nadia
Mike H. - 28 May 2008 21:22 GMT
After you drag the formula just hit F2 and change the B to an E and the E to
an H.
Then just copy both the formula in Col A and the formula in Col B down and
you're all set.

> Hi,
>
[quoted text clipped - 26 lines]
>
> Nadia
nadia.younus@googlemail.com - 29 May 2008 09:00 GMT
Hi Mike and Otto,

Thanks for your help. I was hoping there was an easier way than having
ot go into every cells and changing the cell reference but I guess
not :)

Nadia
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.