Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Connecting Worksheets using and "if" "then" formula
I have a worksheet containing an annual budget. Column A is coded to help
identify the source of the revenue/credit and has the debit and credit figures appear in columns "E" and "F". I want to create a formula that allows me to summarize the totals for each code. ie, find all the similar codes (code 1, code 2, code 3, etc) in column A and then add all the corresponding figures in columns E and F, to appear in one lump sum in a different worksheet. This will give me a birdseye view of where all the money went for each code. So, I imagine you have to go in the summary worksheet box, and enter a statement akin to: If A=1, then SUM(E&F). But, I want the total of ALL columns E and F taht correspond to a code in column A. Does this make sense? Thank you for your help. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Connecting Worksheets using and "if" "then" formula
Try something like this:
=SUMPRODUCT((Sheet1!A1:A20=1)*Sheet1!E1:F20) -- Biff Microsoft Excel MVP "sstensrud" wrote in message ... I have a worksheet containing an annual budget. Column A is coded to help identify the source of the revenue/credit and has the debit and credit figures appear in columns "E" and "F". I want to create a formula that allows me to summarize the totals for each code. ie, find all the similar codes (code 1, code 2, code 3, etc) in column A and then add all the corresponding figures in columns E and F, to appear in one lump sum in a different worksheet. This will give me a birdseye view of where all the money went for each code. So, I imagine you have to go in the summary worksheet box, and enter a statement akin to: If A=1, then SUM(E&F). But, I want the total of ALL columns E and F taht correspond to a code in column A. Does this make sense? Thank you for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Why is "History" a "reserved name" while naming Excel worksheets? | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |