Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default In a formula or function, what do the symbols "" mean.

=IF(E78=0,"",IF(E78="","",(IF(H77="",(F77+1),(H77+ 1)))))
=IF(E77=0,"",IF(E77=1,"",((E77+F77)-1)))
In the formulas, what does "" mean?
The first formula is in column F and the second is in column H. I trying to
debug a spreadsheet written by someone who is no longer with the company and
this formula only seems to partially work.
If I enter a number larger than 0 in E78, then the value in F78 becomes the
sum of E78 and F77, and H78 becomes the sum of E78 and H77.
If I enter a 0 in E78, then nothing appears in F78 or H78, but later rows
indicate a
#VALUE! error.
The values are correct as long as 0 is not used, but I do not understand why
the formula was written as it is.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default In a formula or function, what do the symbols "" mean.

The "" in the formulae means to return a null (or empty) string, so
that the cell looks blank. So your first formula means:

If E78 contains zero, then return a blank, otherwise
If E78 is blank then return a blank, otherwise
If H77 is blank then return F77 plus 1, otherwise
return H77 plus 1

Hope this helps.

Pete


On Sep 17, 6:42*pm, Rahne059
wrote:
=IF(E78=0,"",IF(E78="","",(IF(H77="",(F77+1),(H77+ 1)))))
=IF(E77=0,"",IF(E77=1,"",((E77+F77)-1)))
In the formulas, what does "" mean?
The first formula is in column F and the second is in column H. I trying to
debug a spreadsheet written by someone who is no longer with the company and
this formula only seems to partially work.
If I enter a number larger than 0 in E78, then the value in F78 becomes the
sum of E78 and F77, and H78 becomes the sum of E78 and H77.
If I enter a 0 in E78, then nothing appears in F78 or H78, but later rows
indicate a
#VALUE! error.
The values are correct as long as 0 is not used, but I do not understand why
the formula was written as it is.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default In a formula or function, what do the symbols "" mean.

Thanks for the info. Unfortunately, it does not work the way it was designed
to; but is working well enough for the user. I will just not try to duplicate
the affect in my own formulas.

"Pete_UK" wrote:

The "" in the formulae means to return a null (or empty) string, so
that the cell looks blank. So your first formula means:

If E78 contains zero, then return a blank, otherwise
If E78 is blank then return a blank, otherwise
If H77 is blank then return F77 plus 1, otherwise
return H77 plus 1

Hope this helps.

Pete


On Sep 17, 6:42 pm, Rahne059
wrote:
=IF(E78=0,"",IF(E78="","",(IF(H77="",(F77+1),(H77+ 1)))))
=IF(E77=0,"",IF(E77=1,"",((E77+F77)-1)))
In the formulas, what does "" mean?
The first formula is in column F and the second is in column H. I trying to
debug a spreadsheet written by someone who is no longer with the company and
this formula only seems to partially work.
If I enter a number larger than 0 in E78, then the value in F78 becomes the
sum of E78 and F77, and H78 becomes the sum of E78 and H77.
If I enter a 0 in E78, then nothing appears in F78 or H78, but later rows
indicate a
#VALUE! error.
The values are correct as long as 0 is not used, but I do not understand why
the formula was written as it is.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default In a formula or function, what do the symbols "" mean.

If you tell us what you were trying to achieve, then we may be able to help
you to improve the formulae.

Apart from any functional concerns which you have, you may wish to get rid
of a few unnecessary extra parentheses, though they wouldn't be doing any
harm.
=IF(E78=0,"",IF(E78="","",(IF(H77="",(F77+1),(H77+ 1))))) could be
=IF(E78=0,"",IF(E78="","",IF(H77="",F77+1,H77+1))) or just
=IF(E78=0,"",IF(H77="",F77+1,H77+1)) as an empty string would satisfy the
E78=0 test
and
=IF(E77=0,"",IF(E77=1,"",((E77+F77)-1))) could be
=IF(E77=0,"",IF(E77=1,"",E77+F77-1))
--
David Biddulph

"Rahne059" wrote in message
...
Thanks for the info. Unfortunately, it does not work the way it was
designed
to; but is working well enough for the user. I will just not try to
duplicate
the affect in my own formulas.

"Pete_UK" wrote:

The "" in the formulae means to return a null (or empty) string, so
that the cell looks blank. So your first formula means:

If E78 contains zero, then return a blank, otherwise
If E78 is blank then return a blank, otherwise
If H77 is blank then return F77 plus 1, otherwise
return H77 plus 1

Hope this helps.

Pete


On Sep 17, 6:42 pm, Rahne059
wrote:
=IF(E78=0,"",IF(E78="","",(IF(H77="",(F77+1),(H77+ 1)))))
=IF(E77=0,"",IF(E77=1,"",((E77+F77)-1)))
In the formulas, what does "" mean?
The first formula is in column F and the second is in column H. I
trying to
debug a spreadsheet written by someone who is no longer with the
company and
this formula only seems to partially work.
If I enter a number larger than 0 in E78, then the value in F78 becomes
the
sum of E78 and F77, and H78 becomes the sum of E78 and H77.
If I enter a 0 in E78, then nothing appears in F78 or H78, but later
rows
indicate a
#VALUE! error.
The values are correct as long as 0 is not used, but I do not
understand why
the formula was written as it is.





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
Text "comparison" operator for "contains" used in an "IF" Function Pawaso Excel Worksheet Functions 4 April 4th 23 11:35 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
How do I use "offset" function in "array formula"? hongguang Excel Discussion (Misc queries) 3 April 4th 07 12:04 AM
How do I use the "if" and "round" function in the same formula ? carl Excel Worksheet Functions 2 April 27th 06 04:37 PM


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