Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 39
Default incorporate the remove #DIV/0! code into another formula to get bl

hi there, i have this formula below, and i somehow want to incorporate this
=IFERROR(B1/C1,"") into it with the purpose of having the cell display
nothing instead of #DIV/0! so that the column of data can then allow an index
and match formula to work as it won't if any of the cells have #DIV/0! in
them, any suggestion?

=(SUMIF($B$2:$B$2500,"=" & T58,$M$2:$M$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$M$2:$M$2500))/(SUMIF($B$2:$B$2500,"=" &
T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" & (T58+
TIMEVALUE("1:00")),$D$2:$D$2500))


--
thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default incorporate the remove #DIV/0! code into another formula to get bl

What version of Excel are you using?

The portion of the formula that will cause the #DIV/0! error is when this
evaluates to 0:

(SUMIF($B$2:$B$2500,"=" &T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$D$2:$D$2500))

That can result in 0 for 2 reasons:

Either there are no time entries that meet the criteria or,

There are time entries that meet the criteria but the values (if any) sum to
0.
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 39
Default incorporate the remove #DIV/0! code into another formula to ge

hi, i'm using excel2007 and at the moment there are no time entries, but
eventually they will fill up, i want to use an index and match formula
similar to this =INDEX(P43:P54,MATCH(MAX(R43:R54),R43:R54,0)) which is
dependent on there being no #DIV/0! errors, since it will be a while till the
cells fill up with data, i was wondering if the #DIV/0! can be removed so the
index and match formula will work?

thanks
--
thanks


"T. Valko" wrote:

What version of Excel are you using?

The portion of the formula that will cause the #DIV/0! error is when this
evaluates to 0:

(SUMIF($B$2:$B$2500,"=" &T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$D$2:$D$2500))

That can result in 0 for 2 reasons:

Either there are no time entries that meet the criteria or,

There are time entries that meet the criteria but the values (if any) sum to
0.

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi there, i have this formula below, and i somehow want to incorporate
this
=IFERROR(B1/C1,"") into it with the purpose of having the cell display
nothing instead of #DIV/0! so that the column of data can then allow an
index
and match formula to work as it won't if any of the cells have #DIV/0! in
them, any suggestion?

=(SUMIF($B$2:$B$2500,"=" & T58,$M$2:$M$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$M$2:$M$2500))/(SUMIF($B$2:$B$2500,"=" &
T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" & (T58+
TIMEVALUE("1:00")),$D$2:$D$2500))


--
thanks



.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default incorporate the remove #DIV/0! code into another formula to ge

i'm using excel2007

Ok, that makes things a lot easier!

Just put your formula inside the IFERROR function:

=IFERROR((SUMIF($B$2:$B$2500,"="&T58,$M$2:$M$2500 )-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$M $2:$M$2500))/(SUMIF($B$2:$B$2500,"="&T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$D $2:$D$2500)),"")

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi, i'm using excel2007 and at the moment there are no time entries, but
eventually they will fill up, i want to use an index and match formula
similar to this =INDEX(P43:P54,MATCH(MAX(R43:R54),R43:R54,0)) which is
dependent on there being no #DIV/0! errors, since it will be a while till
the
cells fill up with data, i was wondering if the #DIV/0! can be removed so
the
index and match formula will work?

thanks
--
thanks


"T. Valko" wrote:

What version of Excel are you using?

The portion of the formula that will cause the #DIV/0! error is when this
evaluates to 0:

(SUMIF($B$2:$B$2500,"=" &T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$D$2:$D$2500))

That can result in 0 for 2 reasons:

Either there are no time entries that meet the criteria or,

There are time entries that meet the criteria but the values (if any) sum
to
0.

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi there, i have this formula below, and i somehow want to incorporate
this
=IFERROR(B1/C1,"") into it with the purpose of having the cell display
nothing instead of #DIV/0! so that the column of data can then allow an
index
and match formula to work as it won't if any of the cells have #DIV/0!
in
them, any suggestion?

=(SUMIF($B$2:$B$2500,"=" & T58,$M$2:$M$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$M$2:$M$2500))/(SUMIF($B$2:$B$2500,"=" &
T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" & (T58+
TIMEVALUE("1:00")),$D$2:$D$2500))


--
thanks



.



  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 39
Default incorporate the remove #DIV/0! code into another formula to ge

that was so simple, lol, thank you for your help! cheers



"T. Valko" wrote:

i'm using excel2007


Ok, that makes things a lot easier!

Just put your formula inside the IFERROR function:

=IFERROR((SUMIF($B$2:$B$2500,"="&T58,$M$2:$M$2500 )-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$M $2:$M$2500))/(SUMIF($B$2:$B$2500,"="&T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$D $2:$D$2500)),"")

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi, i'm using excel2007 and at the moment there are no time entries, but
eventually they will fill up, i want to use an index and match formula
similar to this =INDEX(P43:P54,MATCH(MAX(R43:R54),R43:R54,0)) which is
dependent on there being no #DIV/0! errors, since it will be a while till
the
cells fill up with data, i was wondering if the #DIV/0! can be removed so
the
index and match formula will work?

thanks
--
thanks


"T. Valko" wrote:

What version of Excel are you using?

The portion of the formula that will cause the #DIV/0! error is when this
evaluates to 0:

(SUMIF($B$2:$B$2500,"=" &T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$D$2:$D$2500))

That can result in 0 for 2 reasons:

Either there are no time entries that meet the criteria or,

There are time entries that meet the criteria but the values (if any) sum
to
0.

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi there, i have this formula below, and i somehow want to incorporate
this
=IFERROR(B1/C1,"") into it with the purpose of having the cell display
nothing instead of #DIV/0! so that the column of data can then allow an
index
and match formula to work as it won't if any of the cells have #DIV/0!
in
them, any suggestion?

=(SUMIF($B$2:$B$2500,"=" & T58,$M$2:$M$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$M$2:$M$2500))/(SUMIF($B$2:$B$2500,"=" &
T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" & (T58+
TIMEVALUE("1:00")),$D$2:$D$2500))


--
thanks


.



.



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default incorporate the remove #DIV/0! code into another formula to ge

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
that was so simple, lol, thank you for your help! cheers



"T. Valko" wrote:

i'm using excel2007


Ok, that makes things a lot easier!

Just put your formula inside the IFERROR function:

=IFERROR((SUMIF($B$2:$B$2500,"="&T58,$M$2:$M$2500 )-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$M $2:$M$2500))/(SUMIF($B$2:$B$2500,"="&T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"="&(T58+TIMEVALUE("1:00")),$D $2:$D$2500)),"")

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi, i'm using excel2007 and at the moment there are no time entries,
but
eventually they will fill up, i want to use an index and match formula
similar to this =INDEX(P43:P54,MATCH(MAX(R43:R54),R43:R54,0)) which is
dependent on there being no #DIV/0! errors, since it will be a while
till
the
cells fill up with data, i was wondering if the #DIV/0! can be removed
so
the
index and match formula will work?

thanks
--
thanks


"T. Valko" wrote:

What version of Excel are you using?

The portion of the formula that will cause the #DIV/0! error is when
this
evaluates to 0:

(SUMIF($B$2:$B$2500,"=" &T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$D$2:$D$2500))

That can result in 0 for 2 reasons:

Either there are no time entries that meet the criteria or,

There are time entries that meet the criteria but the values (if any)
sum
to
0.

--
Biff
Microsoft Excel MVP


"Morgan" wrote in message
...
hi there, i have this formula below, and i somehow want to
incorporate
this
=IFERROR(B1/C1,"") into it with the purpose of having the cell
display
nothing instead of #DIV/0! so that the column of data can then allow
an
index
and match formula to work as it won't if any of the cells have
#DIV/0!
in
them, any suggestion?

=(SUMIF($B$2:$B$2500,"=" &
T58,$M$2:$M$2500)-SUMIF($B$2:$B$2500,"=" &
(T58+TIMEVALUE("1:00")),$M$2:$M$2500))/(SUMIF($B$2:$B$2500,"=" &
T58,$D$2:$D$2500)-SUMIF($B$2:$B$2500,"=" & (T58+
TIMEVALUE("1:00")),$D$2:$D$2500))


--
thanks


.



.



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
Incorporate a condition in an IF((OR €¦.formula aussiegirlone Excel Discussion (Misc queries) 2 August 15th 09 05:31 AM
How do I incorporate a formula to calculate many months releases? soconfused Excel Worksheet Functions 3 October 23rd 08 08:49 PM
How do I incorporate letters as numbers in a formula? MWRhino Excel Discussion (Misc queries) 1 September 19th 08 02:34 PM
IF formula help - incorporate greater than & smaller than Aaron Hodson \(Coversure\) Excel Worksheet Functions 10 February 12th 08 05:06 PM
Way to Incorporate Trim Into Match/Index Formula Paige Excel Worksheet Functions 6 November 21st 06 12:16 AM


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