Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have multi row, multi column table. I am looking for the min value with
the formula below and want the output to be the earliest year.. {=MIN(IF((Worksheet!$A$2:$A$1967=A13)*(Worksheet!$ E$2:$E$19670),YEAR(Worksheet!$E$2:$E$1967),""))} It works for a few rows, but for the most part I get "#value!" Not sure why. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The error is probably being generated he
YEAR(Worksheet!$E$2:$E$1967) If your dates (or some of them) aren't true Excel dates the YEAR function will generate a #VALUE! error where the logical test of the IF function evaluates to TRUE. Check your dates and make sure they are true Excel dates. -- Biff Microsoft Excel MVP "PAL" wrote in message ... I have multi row, multi column table. I am looking for the min value with the formula below and want the output to be the earliest year.. {=MIN(IF((Worksheet!$A$2:$A$1967=A13)*(Worksheet!$ E$2:$E$19670),YEAR(Worksheet!$E$2:$E$1967),""))} It works for a few rows, but for the most part I get "#value!" Not sure why. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Column E is reference this formula
=IF('Site Raw Data'!H2="","",'Site Raw Data'!H2). Perhaps, the empty ("") is causing the problem. "T. Valko" wrote: The error is probably being generated he YEAR(Worksheet!$E$2:$E$1967) If your dates (or some of them) aren't true Excel dates the YEAR function will generate a #VALUE! error where the logical test of the IF function evaluates to TRUE. Check your dates and make sure they are true Excel dates. -- Biff Microsoft Excel MVP "PAL" wrote in message ... I have multi row, multi column table. I am looking for the min value with the formula below and want the output to be the earliest year.. {=MIN(IF((Worksheet!$A$2:$A$1967=A13)*(Worksheet!$ E$2:$E$19670),YEAR(Worksheet!$E$2:$E$1967),""))} It works for a few rows, but for the most part I get "#value!" Not sure why. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perhaps, the empty ("") is causing the problem.
Yes, it probably is. Change this array: (Worksheet!$E$2:$E$19670) To: (Worksheet!$E$2:$E$1967<"") -- Biff Microsoft Excel MVP "PAL" wrote in message ... Column E is reference this formula =IF('Site Raw Data'!H2="","",'Site Raw Data'!H2). Perhaps, the empty ("") is causing the problem. "T. Valko" wrote: The error is probably being generated he YEAR(Worksheet!$E$2:$E$1967) If your dates (or some of them) aren't true Excel dates the YEAR function will generate a #VALUE! error where the logical test of the IF function evaluates to TRUE. Check your dates and make sure they are true Excel dates. -- Biff Microsoft Excel MVP "PAL" wrote in message ... I have multi row, multi column table. I am looking for the min value with the formula below and want the output to be the earliest year.. {=MIN(IF((Worksheet!$A$2:$A$1967=A13)*(Worksheet!$ E$2:$E$19670),YEAR(Worksheet!$E$2:$E$1967),""))} It works for a few rows, but for the most part I get "#value!" Not sure why. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I crate a function for week of year + year in same cell. | Excel Worksheet Functions | |||
Combination Graph with current year and prior year sales | Charts and Charting in Excel | |||
how to calculate $1000/year at 5% for 25 years showing each year | Setting up and Configuration of Excel | |||
trying to get day/month/year froamt while user enters year only | New Users to Excel | |||
How to compare current year to prior year in bar chart? | Charts and Charting in Excel |