ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sumif (https://www.excelbanter.com/excel-programming/431278-sumif.html)

Steve

Sumif
 
Hi

Is it possible to use a value from a pull down in a SUMIF statement?

=SUMIF(Forecast!B2:B218,Main!K11,Forecast!F2:F218)

I would like Forecast to be replaced by M6 on the "Main" tab.

Thanks

Steve

Don Guillett

Sumif
 
Look in the help index for INDIRECT

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Steve" wrote in message
...
Hi

Is it possible to use a value from a pull down in a SUMIF statement?

=SUMIF(Forecast!B2:B218,Main!K11,Forecast!F2:F218)

I would like Forecast to be replaced by M6 on the "Main" tab.

Thanks

Steve



Jacob Skaria

Sumif
 
=SUMIF(INDIRECT("'" & Main!M6 & "'!B2:B218"),Main!K11,INDIRECT("'" & Main!M6
& "'!F2:F218"))

If this post helps click Yes
---------------
Jacob Skaria


"Steve" wrote:

Hi

Is it possible to use a value from a pull down in a SUMIF statement?

=SUMIF(Forecast!B2:B218,Main!K11,Forecast!F2:F218)

I would like Forecast to be replaced by M6 on the "Main" tab.

Thanks

Steve



All times are GMT +1. The time now is 05:07 AM.

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