Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default formula returns #value

I have a sheet where the formulas of E, F, and G are (in this example looking
at row 16)

ColumnE =Importado!J16
Column F =LEFT(E16,FIND("/",E16)-1)
column G =RIGHT(E16,LEN(E16)-FIND("/",E16))
On most items column E contains something like 2/195.20 and the formula
works great to separate the 2 from the 195.2
But, if Column E happens to contain a number, such as 5, this formula
returns #VALUE for both F and G
How can I get F to return "0" and G to return the value of E ("5" in this
case)?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default formula returns #value

If I understand you correctly, E16 either has a number in it or a combination
of numbers and other characters. Assuming that's correct, then the following
would test for whether E16 contains only numbers.

=IF(ISNUMBER(E16),E16,[YOUR FORMULA])

Dave
--
Brevity is the soul of wit.


"widman" wrote:

I have a sheet where the formulas of E, F, and G are (in this example looking
at row 16)

ColumnE =Importado!J16
Column F =LEFT(E16,FIND("/",E16)-1)
column G =RIGHT(E16,LEN(E16)-FIND("/",E16))
On most items column E contains something like 2/195.20 and the formula
works great to separate the 2 from the 195.2
But, if Column E happens to contain a number, such as 5, this formula
returns #VALUE for both F and G
How can I get F to return "0" and G to return the value of E ("5" in this
case)?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default formula returns #value

thanks. that did it

"Dave F" wrote:

If I understand you correctly, E16 either has a number in it or a combination
of numbers and other characters. Assuming that's correct, then the following
would test for whether E16 contains only numbers.

=IF(ISNUMBER(E16),E16,[YOUR FORMULA])

Dave
--
Brevity is the soul of wit.


"widman" wrote:

I have a sheet where the formulas of E, F, and G are (in this example looking
at row 16)

ColumnE =Importado!J16
Column F =LEFT(E16,FIND("/",E16)-1)
column G =RIGHT(E16,LEN(E16)-FIND("/",E16))
On most items column E contains something like 2/195.20 and the formula
works great to separate the 2 from the 195.2
But, if Column E happens to contain a number, such as 5, this formula
returns #VALUE for both F and G
How can I get F to return "0" and G to return the value of E ("5" in this
case)?

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
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
formula returns (correctly) a negative value brit64 Excel Discussion (Misc queries) 5 September 19th 05 08:56 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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