Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
John III
 
Posts: n/a
Default I need help writing a formula.

The formula needs to add the total of column A, from rows 1-10 to the total
of column B, from rows 1-10 and divide the total of column B by 2 before
adding to the total of column A. Something like this
=sum((a1:a10)+(b1:b10)/2).
Please help.
  #3   Report Post  
Dana DeLouis
 
Posts: n/a
Default

... Something like this
=sum((a1:a10)+(b1:b10)/2).


Frank's formula is what you want. However, just to mention...yours would
have worked if you entered it as an Array Formula

=SUM(A1:A10+B1:B10/2) (Ctrl+Shift+Enter)

or slightly better...
=SUM(A1:A10,B1:B10/2) (Ctrl+Shift+Enter)

--
Dana DeLouis
Win XP & Office 2003


"John III" <John wrote in message
...
The formula needs to add the total of column A, from rows 1-10 to the
total
of column B, from rows 1-10 and divide the total of column B by 2 before
adding to the total of column A. Something like this
=sum((a1:a10)+(b1:b10)/2).
Please help.



  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Dana
the following non-array should do as well :-))
=SUMPRODUCT(A1:A10+B1:B10/2)

just one more alternative...

--
Regards
Frank Kabel
Frankfurt, Germany
"Dana DeLouis" schrieb im Newsbeitrag
...
... Something like this
=sum((a1:a10)+(b1:b10)/2).


Frank's formula is what you want. However, just to mention...yours would
have worked if you entered it as an Array Formula

=SUM(A1:A10+B1:B10/2) (Ctrl+Shift+Enter)

or slightly better...
=SUM(A1:A10,B1:B10/2) (Ctrl+Shift+Enter)

--
Dana DeLouis
Win XP & Office 2003


"John III" <John wrote in message
...
The formula needs to add the total of column A, from rows 1-10 to the
total
of column B, from rows 1-10 and divide the total of column B by 2 before
adding to the total of column A. Something like this
=sum((a1:a10)+(b1:b10)/2).
Please help.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Trouble writing an excel formula... Stumped by If Thens.... Excel Worksheet Functions 3 December 19th 04 02:39 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 02:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"