taking conditions from one spreadsheet to another

  • Thread starter Thread starter Analyst in the making
  • Start date Start date
A

Analyst in the making

I need to take column B (customer account number) and state if the value is x
then take the monetary value in column P and add up the total value of all
entries for this customer.
Then I want to place the answer on a different worksheet in the same work
book.

Please can someone help me?
 
Something like this in a cell in Sheet2:

=SUMIF(Sheet1!B:B,"x",Sheet1!P:P)

Hope this helps.

Pete
 
Brilliant, thank you, but I need to do 9999 and I can't seem to drag the
formula down the page
 
Put your account codes say in Column A of Sheet2, starting with A2,
and then change the formula to this:

=SUMIF(Sheet1!B:B,A2,Sheet1!P:P)

and then copy it down.

Hope this helps.

Pete
 
Back
Top