Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Russellrupert
 
Posts: n/a
Default I want a formula to ignore text values in cell references

If text is input into some cells referenced by a formula I want the formula
to ignore whatever text it finds and just calculate the result of the numbers
in cells. How do i do this?
Presently the formula displays #VALUE! where there is text in one or more of
the cells referenced.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Gary''s Student
 
Posts: n/a
Default I want a formula to ignore text values in cell references

Use ISNUMBER():

In place of A1 use =IF(ISNUMBER(A1),A1,"")
--
Gary''s Student


"Russellrupert" wrote:

If text is input into some cells referenced by a formula I want the formula
to ignore whatever text it finds and just calculate the result of the numbers
in cells. How do i do this?
Presently the formula displays #VALUE! where there is text in one or more of
the cells referenced.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default I want a formula to ignore text values in cell references

Just some thoughts .. If it's to sum numbers,
we could use, eg: =SUM(A1:A3)
instead of : =A1+A2+A3

SUM will ignore text,
while : =A1+A2+A3 would return #VALUE!
if there are text within the range

And if there's the possibility of "text" numbers within the range, which
should also be included in the sum together with real numbers, then one way
is to try,
array-entered (press CTRL+SHIFT+ENTER):
=SUM(IF(ISNUMBER(--A1:A3),--A1:A3))

[ =SUM(A1:A3) would ignore text numbers ]
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Russellrupert" wrote in message
...
If text is input into some cells referenced by a formula I want the

formula
to ignore whatever text it finds and just calculate the result of the

numbers
in cells. How do i do this?
Presently the formula displays #VALUE! where there is text in one or more

of
the cells referenced.



  #4   Report Post  
Junior Member
 
Posts: 2
Default

Please forgive my ignorance, I am looking to do something similar here. I am looking to divide the contents of cell B21 by the contents of cell A27 on my Excel sheet. The problem I am encountering is cell A27 contains the following "9 Waitresses" and I am looking to have the formula disregard the text "Waitresses". Can anyone tell me how to do this? 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
CONCATENATE text formula Lauren Excel Worksheet Functions 7 January 7th 06 10:24 PM
Inserting two cell values into a new cell + text mmednick Excel Discussion (Misc queries) 6 December 6th 05 08:15 PM
Text in formula bar is not displaying in cell Raquel8D Excel Discussion (Misc queries) 1 August 29th 05 10:31 PM
Text in formula bar is not displaying in cell Mike Excel Discussion (Misc queries) 0 August 29th 05 09:47 PM
Using cell references as text in a formula David V Excel Worksheet Functions 1 July 21st 05 07:50 PM


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