Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default VALUE ERROR RETURNED FROM FORMULA

The formula COUNTIF(F16:F703,"A")+G16-1 works properly, But when I change the
formula to COUNTIF(F16:F703,"A")+G16:G703-1 returns a #VALUE# error.
No matter what I do I cannot get it to work right. Need help asap working on
a program for the hospital. Am using OFFICE PRO 2003.

Waiting for an answer with many thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default VALUE ERROR RETURNED FROM FORMULA

You want to use the total of the values in G16:G703?
If yes, then use
=COUNTIF(F16:F703,"A")+SUM(G16:G703)-1

If not then let us know what you want to calculate.
--
--------
If this is what you wanted then press the ''''YES'''' button (if you see it)


"mcoge" wrote:

The formula COUNTIF(F16:F703,"A")+G16-1 works properly, But when I change the
formula to COUNTIF(F16:F703,"A")+G16:G703-1 returns a #VALUE# error.
No matter what I do I cannot get it to work right. Need help asap working on
a program for the hospital. Am using OFFICE PRO 2003.

Waiting for an answer with many thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 143
Default VALUE ERROR RETURNED FROM FORMULA

The formula COUNTIF(F16:F703,"A")+G16-1 works properly, But when I
change the formula to COUNTIF(F16:F703,"A")+G16:G703-1 returns a
#VALUE# error. No matter what I do I cannot get it to work right.
... Am using OFFICE PRO 2003.


Not sure what answer you expect, but here are valid formulas for a few
guesses:

=COUNTIF(F16:F703,"A")+SUM(G16:G703)-1

=COUNTIF(F16:F703,"A")+COUNTIF(G16:G703,"B")-1

=COUNTIF(F17:F704,"A")+MAX(G17:G704)-1

("G16:G703" isn't a number, so adding it to another number isn't
meaningful.)
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 143
Default VALUE ERROR RETURNED FROM FORMULA

.... or maybe
=COUNTIF(F17:G704,"A")-1
??
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VALUE ERROR RETURNED FROM FORMULA

COUNTIF(F16:F703,"A")+G16:G703-1

Try this:

=SUMIF(F16:F703,"A",G16:G703)-1

--
Biff
Microsoft Excel MVP


"mcoge" wrote in message
...
The formula COUNTIF(F16:F703,"A")+G16-1 works properly, But when I change
the
formula to COUNTIF(F16:F703,"A")+G16:G703-1 returns a #VALUE# error.
No matter what I do I cannot get it to work right. Need help asap working
on
a program for the hospital. Am using OFFICE PRO 2003.

Waiting for an answer with many 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
error handling-need to get rid of a value returned as #N/A Gluefoot Excel Worksheet Functions 2 February 5th 08 10:40 PM
N/A returned on VLOOKUP formula Meltad Excel Worksheet Functions 3 May 15th 07 09:39 AM
Value returned from Formula changes with the Date Jeff Excel Worksheet Functions 6 December 29th 05 02:48 AM
adding cells that contain formulas that have returned error messag Daniel R Excel Worksheet Functions 3 February 21st 05 07:14 PM
Error being returned Pat Excel Worksheet Functions 4 January 17th 05 04:33 PM


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