ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   subtotal worksheet based on criteria (https://www.excelbanter.com/excel-programming/412375-subtotal-worksheet-based-criteria.html)

Belinda7237

subtotal worksheet based on criteria
 
i have a master dataset that has a column called status in Column T. In
Column N I have an invoice amount.
If the status is "cleared" then I do not want the subtotal to include the
invoice amount, thus if there is no value (blank) in column T then I want the
equivilent column N invoice amount to be included in the subtotal.

How can i accomplish this without using a filter?

Gary Keramidas

subtotal worksheet based on criteria
 
if data is in n2:n13 and t2:t13

=SUMIF(T2:T13,"<cleared",N2:N13)

--


Gary


"Belinda7237" wrote in message
...
i have a master dataset that has a column called status in Column T. In
Column N I have an invoice amount.
If the status is "cleared" then I do not want the subtotal to include the
invoice amount, thus if there is no value (blank) in column T then I want the
equivilent column N invoice amount to be included in the subtotal.

How can i accomplish this without using a filter?




Belinda7237

subtotal worksheet based on criteria
 
perfect, thanks!

"Gary Keramidas" wrote:

if data is in n2:n13 and t2:t13

=SUMIF(T2:T13,"<cleared",N2:N13)

--


Gary


"Belinda7237" wrote in message
...
i have a master dataset that has a column called status in Column T. In
Column N I have an invoice amount.
If the status is "cleared" then I do not want the subtotal to include the
invoice amount, thus if there is no value (blank) in column T then I want the
equivilent column N invoice amount to be included in the subtotal.

How can i accomplish this without using a filter?






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

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