Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default worksheet formula problem

Hi..new to worksheet formula's and could use some guidance

i have created a worksheet with a formula in an entire row to calculate days
old.The formula looks at two cells and calculates the difference...thats the
easy part..works good =(c1-f14) etc

What i would like to know is
In the remaining cells down the row (containing formula) i get 38944 as a
value.even though there is no value in one of the date rows.Is there a way to
calculate only the populated rows and leave the others blank or with "0"

thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default worksheet formula problem

Hi there,

So you're only wanting Excel to perform the =(c1-f14) if both cells are
populated? You can use this formula instead:

=IF(AND(C1<"",F14<""),C1-F14,"")

What it's doing is telling it to perform C1-F14 if both C1 AND F14 are both
not blank. If that isn't true, ie is either one is blank, then it puts
nothing in there. The "" translates to 'blank'.

HTH,
Katherine

"Liketoknow" wrote in message
...
Hi..new to worksheet formula's and could use some guidance

i have created a worksheet with a formula in an entire row to calculate
days
old.The formula looks at two cells and calculates the difference...thats
the
easy part..works good =(c1-f14) etc

What i would like to know is
In the remaining cells down the row (containing formula) i get 38944 as a
value.even though there is no value in one of the date rows.Is there a way
to
calculate only the populated rows and leave the others blank or with "0"

thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default worksheet formula problem


Seems like an easy fix but I'm slightly confused by the explaination.

Is the number you are always subtracting from C1 or does it change as
the formula is pasted?


--
mehare
------------------------------------------------------------------------
mehare's Profile: http://www.excelforum.com/member.php...o&userid=37483
View this thread: http://www.excelforum.com/showthread...hreadid=571893

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default worksheet formula problem

Thnks for the quick reply...yes i was trying to subtract the date i enter
manually (f14 )etc from todays date (c1)

Katherines formula works great

Thanks for your help



"Liketoknow" wrote:

Hi..new to worksheet formula's and could use some guidance

i have created a worksheet with a formula in an entire row to calculate days
old.The formula looks at two cells and calculates the difference...thats the
easy part..works good =(c1-f14) etc

What i would like to know is
In the remaining cells down the row (containing formula) i get 38944 as a
value.even though there is no value in one of the date rows.Is there a way to
calculate only the populated rows and leave the others blank or with "0"

thanks in advance

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
conditional formatting: problem entering EOMONTH formula... Jonathan Cooper Excel Discussion (Misc queries) 0 February 6th 06 09:34 PM
conditional formatting: problem entering EOMONTH formula... Jonathan Cooper Excel Discussion (Misc queries) 1 February 6th 06 09:28 PM
Comparing a list to a Calendar worksheet. PatrickL Excel Worksheet Functions 0 August 25th 05 04:21 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 05:32 PM.

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

About Us

"It's about Microsoft Excel"