Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default Using iserror with greater than

I am having trouble and would like to use greater than

=IF(ISERROR(D2+D8),"",D2+D8)

I need a condition if D2+D8=6 if it does then
add D2+D8 all the while using iserror if D2 happens
to be blank

With Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 834
Default Using iserror with greater than

This should be fine

=IF(D2+D86,D2+D8,"")

regardless of whether D2 is blank or not

--

HTH

Bob

"smandula" wrote in message
...
I am having trouble and would like to use greater than

=IF(ISERROR(D2+D8),"",D2+D8)

I need a condition if D2+D8=6 if it does then
add D2+D8 all the while using iserror if D2 happens
to be blank

With Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default Using iserror with greater than

Thanks for your reply.

I tried that solution before I posted.

What I did not say is that D2 on Sheet 3
is linked with sheet called Form ie =Form!$D$12
which is the reason I need iserror to get rid of the #value!

I would appreciate any suggestions
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Using iserror with greater than

This will test for D2+D8=6 and add D2+D8 if true, otherwise = nullstring

=IF(D2+D8=6,D2+D8, "")

If D2 is empty it will not throw an error since Excel sees blank as zero.
It will just add D8 value to zero to test if it equals or exceeds 6.


"smandula" wrote in message
...
I am having trouble and would like to use greater than

=IF(ISERROR(D2+D8),"",D2+D8)

I need a condition if D2+D8=6 if it does then
add D2+D8 all the while using iserror if D2 happens
to be blank

With Thanks



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default Using iserror with greater than

I get an error mesage on this submission

=IF(D2+D87,D2+D8,IFERROR(D2+D8),"",)





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default Using iserror with greater than

Solution:
=IF(D2+D8=6,D2+D8, "") works with any = 6 or 7
as long as the linked page shows a number such as 0
not "" which will cause a #value!

So easy?

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default Using iserror with greater than

If you custom format the cell as:
[=6]General;;
you can simply use;

=SUM(D2,D8)


--
Regards
Dave Hawley
www.ozgrid.com
"smandula" wrote in message
...
Solution:
=IF(D2+D8=6,D2+D8, "") works with any = 6 or 7
as long as the linked page shows a number such as 0
not "" which will cause a #value!

So easy?


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
If formula: if A1 is greater than B1 and A1 is greater than zero.. Jason Excel Discussion (Misc queries) 2 April 5th 10 06:11 PM
IF, OR, ISERROR? FJ Excel Worksheet Functions 7 November 6th 09 04:01 AM
IsError help Jim Excel Discussion (Misc queries) 2 September 4th 09 02:03 PM
iserror help Scott@CW Excel Worksheet Functions 1 December 13th 07 06:03 PM
CountIf Greater Than/Find Greater Than Sisilla[_2_] Excel Programming 12 October 6th 06 08:04 PM


All times are GMT +1. The time now is 03:20 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"