ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   "If" Problem (https://www.excelbanter.com/excel-discussion-misc-queries/158041-if-problem.html)

Andy

"If" Problem
 
I am trying to generate a spredsheet to help me with my VAT Returns. I am
entering data in rows. Colunm "A2" is simply the date. Column "B" is an "In"
or "Out" payment. Col "C" is a value in £. I would like to total all the "In"
values and return the answer into cell "F1" and total all the "Out" values
and return the answer into cell "F2". Can any one help?

A B C
date In £200
date In £567
date Out £55
date In £678
date Out £555

Cheers

Andy

Peo Sjoblom

"If" Problem
 
=SUMIF(B2:B10,"In",C2:C10)



--
Regards,

Peo Sjoblom


"ANDY" wrote in message
...
I am trying to generate a spredsheet to help me with my VAT Returns. I am
entering data in rows. Colunm "A2" is simply the date. Column "B" is an
"In"
or "Out" payment. Col "C" is a value in £. I would like to total all the
"In"
values and return the answer into cell "F1" and total all the "Out" values
and return the answer into cell "F2". Can any one help?

A B C
date In £200
date In £567
date Out £55
date In £678
date Out £555

Cheers

Andy




Roger Govier[_3_]

"If" Problem
 
Hi Andy

=SUMIF(B:B,"In",C:C)
and
=SUMIF(B:B,"Out",C:C)

--
Regards
Roger Govier



"ANDY" wrote in message
...
I am trying to generate a spredsheet to help me with my VAT Returns. I am
entering data in rows. Colunm "A2" is simply the date. Column "B" is an
"In"
or "Out" payment. Col "C" is a value in £. I would like to total all the
"In"
values and return the answer into cell "F1" and total all the "Out" values
and return the answer into cell "F2". Can any one help?

A B C
date In £200
date In £567
date Out £55
date In £678
date Out £555

Cheers

Andy





All times are GMT +1. The time now is 07:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com