Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default MIN and IF functions return no value if there is no date

Hello,

I am using this array formula to give me the smallest date if two
ciretira are matched.
It works really well, but for some reason if there is no date in the
list it returns the 00-Jan-00 value.
Is there a way that it does not return any values at all and the cell
remains empty?

=MIN(IF(H9:$H20=B5,IF(I9:I20=B9,Timesheet!G9:G20," ")))

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default MIN and IF functions return no value if there is no date

Try this (array entered):

=IF(SUM((H9:H20=B5)*(I9:I20=B9)),MIN(IF((H9:$H20=B 5)*(I9:I20=B9),Timesheet!G9:G20)),"")

--
Biff
Microsoft Excel MVP


wrote in message
...
Hello,

I am using this array formula to give me the smallest date if two
ciretira are matched.
It works really well, but for some reason if there is no date in the
list it returns the 00-Jan-00 value.
Is there a way that it does not return any values at all and the cell
remains empty?

=MIN(IF(H9:$H20=B5,IF(I9:I20=B9,Timesheet!G9:G20," ")))

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default MIN and IF functions return no value if there is no date

On Apr 25, 11:46*am, "T. Valko" wrote:
Try this (array entered):

=IF(SUM((H9:H20=B5)*(I9:I20=B9)),MIN(IF((H9:$H20=B 5)*(I9:I20=B9),Timesheet!*G9:G20)),"")

--
Biff
Microsoft Excel MVP

wrote in message

...



Hello,


I am using this array formula to give me the smallest date if two
ciretira are matched.
It works really well, but for some reason if there is no date in the
list it returns the 00-Jan-00 value.
Is there a way that it does not return any values at all and the cell
remains empty?


=MIN(IF(H9:$H20=B5,IF(I9:I20=B9,Timesheet!G9:G20," ")))


Thanks!- Hide quoted text -


- Show quoted text -


Hi Biff,

Thanks for this formula, does this work if my values in B5 and B9 are
actually text?
I have managed to make it work yet?

Thanks again.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default MIN and IF functions return no value if there is no date

On Apr 25, 12:02*pm, wrote:
On Apr 25, 11:46*am, "T. Valko" wrote:





Try this (array entered):


=IF(SUM((H9:H20=B5)*(I9:I20=B9)),MIN(IF((H9:$H20=B 5)*(I9:I20=B9),Timesheet!**G9:G20)),"")


--
Biff
Microsoft Excel MVP


wrote in message


...


Hello,


I am using this array formula to give me the smallest date if two
ciretira are matched.
It works really well, but for some reason if there is no date in the
list it returns the 00-Jan-00 value.
Is there a way that it does not return any values at all and the cell
remains empty?


=MIN(IF(H9:$H20=B5,IF(I9:I20=B9,Timesheet!G9:G20," ")))


Thanks!- Hide quoted text -


- Show quoted text -


Hi Biff,

Thanks for this formula, does this work if my values in B5 and B9 are
actually text?
I have managed to make it work yet?

Thanks again.- Hide quoted text -

- Show quoted text -


Hi Biff,

Ignore my question!
I got it to work!
Thanks for your help!
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default MIN and IF functions return no value if there is no date

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


wrote in message
...
On Apr 25, 12:02 pm, wrote:
On Apr 25, 11:46 am, "T. Valko" wrote:





Try this (array entered):


=IF(SUM((H9:H20=B5)*(I9:I20=B9)),MIN(IF((H9:$H20=B 5)*(I9:I20=B9),Timesheet!**G9:G20)),"")


--
Biff
Microsoft Excel MVP


wrote in message


...


Hello,


I am using this array formula to give me the smallest date if two
ciretira are matched.
It works really well, but for some reason if there is no date in the
list it returns the 00-Jan-00 value.
Is there a way that it does not return any values at all and the cell
remains empty?


=MIN(IF(H9:$H20=B5,IF(I9:I20=B9,Timesheet!G9:G20," ")))


Thanks!- Hide quoted text -


- Show quoted text -


Hi Biff,

Thanks for this formula, does this work if my values in B5 and B9 are
actually text?
I have managed to make it work yet?

Thanks again.- Hide quoted text -

- Show quoted text -


Hi Biff,

Ignore my question!
I got it to work!
Thanks for your help!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Most functions do not work and return #Name? [email protected] Excel Worksheet Functions 4 October 17th 07 11:43 PM
When save as another file, EDATE and XIRR functions return #N/A nguyensea Excel Worksheet Functions 0 July 24th 07 05:06 PM
How to return value from functions in other sheets? TR Excel Worksheet Functions 3 October 23rd 06 08:25 PM
All arithmetic functions return Zero as result Khoshravan Setting up and Configuration of Excel 9 June 26th 06 03:24 AM
using muliple functions to return one result tauwnia Excel Worksheet Functions 1 January 17th 06 08:45 PM


All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"