Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
lee lee is offline
external usenet poster
 
Posts: 184
Default Is there a way to get rid of "######"

A6 contains this formula:
=SUMPRODUCT(--(A1:A58/24),A1:A5-8/24)*(SUM(A1:A5)*24<40)

This formula is doing what I want however if I enter a word into one of the
data cells instead of a time, the cell with the formula says ######. Is there
a way to have the formula only recognize a time entry and ignore a word entry
and still do the calculations I need.
--
Lee D.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Is there a way to get rid of "######"

Try:

=SUMPRODUCT(--(ISNUMBER(A1:A58/24)),ISNUMBER((A1:A5-8/24))*(SUM(A1:A5)*24<40))

"Lee" wrote:

A6 contains this formula:
=SUMPRODUCT(--(A1:A58/24),A1:A5-8/24)*(SUM(A1:A5)*24<40)

This formula is doing what I want however if I enter a word into one of the
data cells instead of a time, the cell with the formula says ######. Is there
a way to have the formula only recognize a time entry and ignore a word entry
and still do the calculations I need.
--
Lee D.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Is there a way to get rid of "######"

Test the cell for data type/and formatting if your version of Excel allows.
--
Sincerely,
Mike Leonard
GE Reaves Engineering, Inc.
San Antonio, Texas 78247


"Lee" wrote:

A6 contains this formula:
=SUMPRODUCT(--(A1:A58/24),A1:A5-8/24)*(SUM(A1:A5)*24<40)

This formula is doing what I want however if I enter a word into one of the
data cells instead of a time, the cell with the formula says ######. Is there
a way to have the formula only recognize a time entry and ignore a word entry
and still do the calculations I need.
--
Lee D.

  #4   Report Post  
Posted to microsoft.public.excel.misc
lee lee is offline
external usenet poster
 
Posts: 184
Default Is there a way to get rid of "######"

Toppers,
That formula is ignoring both words and time entry in the before mentioned
cells.
Any more suggestions?
--
Lee D.


"Toppers" wrote:

Try:

=SUMPRODUCT(--(ISNUMBER(A1:A58/24)),ISNUMBER((A1:A5-8/24))*(SUM(A1:A5)*24<40))

"Lee" wrote:

A6 contains this formula:
=SUMPRODUCT(--(A1:A58/24),A1:A5-8/24)*(SUM(A1:A5)*24<40)

This formula is doing what I want however if I enter a word into one of the
data cells instead of a time, the cell with the formula says ######. Is there
a way to have the formula only recognize a time entry and ignore a word entry
and still do the calculations I need.
--
Lee D.

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
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
create links to check boxes marked "good" fair"and "bad" pjb Excel Worksheet Functions 3 April 20th 06 02:17 AM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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