ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Displaying Formulas and Values of the Same Cells (https://www.excelbanter.com/excel-programming/308440-displaying-formulas-values-same-cells.html)

estherf04

Displaying Formulas and Values of the Same Cells
 
I'm looking to create a program that will do the following:

Search 2 columns in an excel spreadsheet
Column 'A' - a date Column (dates are already grouped in sequentia
order)
Column 'B' - an integer Column (contains both positive and negativ
integers)

My end result should be: I need to know the total of the negativ
integers per month

For example
Column A has dates (1/1/2003, 1/5/2003, 1/15,2003, 2/1/203)
Column B has values (-10,5,-8,-15)
My result should be something like: January 2003 has total of 18

Any Suggestions????

--
Message posted from http://www.ExcelForum.com


Frank Kabel

Displaying Formulas and Values of the Same Cells
 
Hi
try
="January 2003 has total of " &
SUMPRODUCT(--(MONTH(A1:A100)=1),--(YEAR(A1:A100)=2003))

--
Regards
Frank Kabel
Frankfurt, Germany

"estherf04 " schrieb im
Newsbeitrag ...
I'm looking to create a program that will do the following:

Search 2 columns in an excel spreadsheet
Column 'A' - a date Column (dates are already grouped in sequential
order)
Column 'B' - an integer Column (contains both positive and negative
integers)

My end result should be: I need to know the total of the negative
integers per month

For example
Column A has dates (1/1/2003, 1/5/2003, 1/15,2003, 2/1/203)
Column B has values (-10,5,-8,-15)
My result should be something like: January 2003 has total of 18

Any Suggestions?????


---
Message posted from http://www.ExcelForum.com/




All times are GMT +1. The time now is 08:33 AM.

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