Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Getting a #VALUE! error---Need help

I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009 1.46


Bonnie Mozingo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Getting a #VALUE! error---Need help

Hi,
=if(H1="","",=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1))

"mozingob" wrote:

I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009 1.46


Bonnie Mozingo

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Getting a #VALUE! error---Need help

opps, use this

=if(H1="","",(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1))


"Eduardo" wrote:

Hi,
=if(H1="","",=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1))

"mozingob" wrote:

I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009 1.46


Bonnie Mozingo

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Getting a #VALUE! error---Need help

Perhaps without the second = sign, Eduardo?
But it shouldn't be using H1 as a value if it's blank, as the only place
where H1 is used in the original formula was IF(H1="",E1,H1), so I'm not
convinced that your extra H1="" test will help, and in any case it wouldn't
give the output which the OP was presumably looking for, using E1 instead of
H1.

My guess would be that H1 isn't blank, but perhaps contains something like a
space.
Perhaps then change
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)
to
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(ISNUMBER(H1),H1,E1))/365+G1)
and maybe a similar change if K1 might be non-numeric.
--
David Biddulph

"Eduardo" wrote in message
...
Hi,
=if(H1="","",=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1))

"mozingob" wrote:

I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009
1.46


Bonnie Mozingo



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Getting a #VALUE! error---Need help

I get a #VALUE! error in L1 using this formula if H1 is blank.

If H1 is an empty cell I get a result of 2.85 (rounded).

???

--
Biff
Microsoft Excel MVP


"mozingob" wrote in message
...
I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009
1.46


Bonnie Mozingo





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Getting a #VALUE! error---Need help

P.S. Could be that you may think H1 is "blank" but there may be some kind of
unseen whitespace character in there.

Try this:

=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(COUNT(H1),H1,E1))/365+G1)


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
I get a #VALUE! error in L1 using this formula if H1 is blank.


If H1 is an empty cell I get a result of 2.85 (rounded).

???

--
Biff
Microsoft Excel MVP


"mozingob" wrote in message
...
I get a #VALUE! error in L1 using this formula if H1 is blank. Any
suggestions?
=(J1*0.01*(IF(K1="",TODAY(),K1)-IF(H1="",E1,H1))/365+G1)

E F G H I J K L
1/28/2009 210.00 1.17 8/20/2009 40.00 250.00 10/1/2009
1.46


Bonnie Mozingo





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
Error of slope taking into account error of the data points cer144 Excel Worksheet Functions 5 July 7th 08 07:26 PM
Error: "Excel encountered an error and had to remove some formatti Carl Excel Discussion (Misc queries) 0 September 18th 06 06:39 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


All times are GMT +1. The time now is 03:16 AM.

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"