![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
Hello,
Is there a command like sum which will subtract the values in a range of cells? Thank you, Denny |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
Why not use Sum(A1,-A2) format?
I can't find Subtract in Excel |
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
sum(a1-a2)is good but I want to do a1:a20. Any ideas besides a1-a2-a3 and so.......
Denny [ This Message was edited by: kinkyparamour on 2002-02-23 20:22 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Houston, TX
Posts: 303
|
This should work. Assume subtracting A2:A20 from A1.
=A1-SUM(A2:A20) |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
That works great. So simple, why didn't I think of it?
Thanks again, Denny |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|