![]() |
Conditional Minimum formula
Please help me create a formula that finds the minimum non-zero amount in a
column (B) based on the condition that there is a date in the adjacent column (C). Some cells in both columns will be blank (e.g. cells C2, C5 and row 6 is blank). Example below should return result of $400 as the minimum in cell E1. Column A Column B Column C 1 item1 $1000 11/17/08 2 item2 $800 3 item3 $600 11/24/08 4 item4 $400 11/30/08 5 item5 $200 6 Thank you in advance for you assistance! |
Conditional Minimum formula
Try this array formula** :
=MIN(IF((B1:B10<0)*(C1:C10<""),B1:B10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Excel-User-RR" wrote in message ... Please help me create a formula that finds the minimum non-zero amount in a column (B) based on the condition that there is a date in the adjacent column (C). Some cells in both columns will be blank (e.g. cells C2, C5 and row 6 is blank). Example below should return result of $400 as the minimum in cell E1. Column A Column B Column C 1 item1 $1000 11/17/08 2 item2 $800 3 item3 $600 11/24/08 4 item4 $400 11/30/08 5 item5 $200 6 Thank you in advance for you assistance! |
Conditional Minimum formula
I greatly appreciate your quick response and expertise!
"T. Valko" wrote: Try this array formula** : =MIN(IF((B1:B10<0)*(C1:C10<""),B1:B10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Excel-User-RR" wrote in message ... Please help me create a formula that finds the minimum non-zero amount in a column (B) based on the condition that there is a date in the adjacent column (C). Some cells in both columns will be blank (e.g. cells C2, C5 and row 6 is blank). Example below should return result of $400 as the minimum in cell E1. Column A Column B Column C 1 item1 $1000 11/17/08 2 item2 $800 3 item3 $600 11/24/08 4 item4 $400 11/30/08 5 item5 $200 6 Thank you in advance for you assistance! |
Conditional Minimum formula
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Excel-User-RR" wrote in message ... I greatly appreciate your quick response and expertise! "T. Valko" wrote: Try this array formula** : =MIN(IF((B1:B10<0)*(C1:C10<""),B1:B10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) -- Biff Microsoft Excel MVP "Excel-User-RR" wrote in message ... Please help me create a formula that finds the minimum non-zero amount in a column (B) based on the condition that there is a date in the adjacent column (C). Some cells in both columns will be blank (e.g. cells C2, C5 and row 6 is blank). Example below should return result of $400 as the minimum in cell E1. Column A Column B Column C 1 item1 $1000 11/17/08 2 item2 $800 3 item3 $600 11/24/08 4 item4 $400 11/30/08 5 item5 $200 6 Thank you in advance for you assistance! |
All times are GMT +1. The time now is 11:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com