Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ahaigh
 
Posts: n/a
Default Simple IF function query (hopefully)


Hi,

I have two columns (J & U) that contains date values (dd/mm/yyyy if
it's important.)

I know how to calculate the number of days between the two which I've
done in column V, however in some cases one or both of columns J & U
are blank. In these cases I'd like my results column to just return
blank also.

Can I make this happen using an IF function? I'd use conditional
formatting, but really just need the cell to contain no value at all
rather than one I can't see.

Thanks in advance,


--
ahaigh
------------------------------------------------------------------------
ahaigh's Profile: http://www.excelforum.com/member.php...o&userid=32414
View this thread: http://www.excelforum.com/showthread...hreadid=531477

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default Simple IF function query (hopefully)


If J contains the start date and U contains the end date

Try =IF(AND(J10,U10),U1-J1,"") as you calculation

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=531477

  #4   Report Post  
Posted to microsoft.public.excel.misc
ahaigh
 
Posts: n/a
Default Simple IF function query (hopefully)


That's great,

Cheers


--
ahaigh
------------------------------------------------------------------------
ahaigh's Profile: http://www.excelforum.com/member.php...o&userid=32414
View this thread: http://www.excelforum.com/showthread...hreadid=531477

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
"Average" function query Robin Blackwell Excel Worksheet Functions 3 October 3rd 05 09:22 PM
Simple count function berminator Excel Worksheet Functions 4 July 1st 05 02:46 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Simple, Monday morning brain function craigwojo Excel Worksheet Functions 1 November 16th 04 03:07 AM
Simple, Monday morning brain function craigwojo Excel Worksheet Functions 2 November 15th 04 01:43 PM


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

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"