Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
pomalley
 
Posts: n/a
Default Convert TRUE/FALSE results to a number

Im using the following function in cell C3:

=IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

The result in C3 is TRUE. If the value in A1 = network and the value in B3
is €œh€, give me the number 1 in cell C3 instead of TRUE. If the result is
FALSE, Id like the cell to be blank. Any ideas are greatly appreciated.

  #3   Report Post  
pomalley
 
Posts: n/a
Default

Thanks for the prompt reply but I'm not clear where I would use this. Is it
part of my of my original function or am I entering this in yet another cell.
I tried a number of combinations with my calculation but can't seem to make
it work. I guess I need more information. Thanks.

"Don Guillett" wrote:

=if(conditionistrue,1,"")

--
Don Guillett
SalesAid Software

"pomalley" wrote in message
...
I'm using the following function in cell C3:

=IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

The result in C3 is TRUE. If the value in A1 = network and the value in

B3
is "h", give me the number 1 in cell C3 instead of TRUE. If the result is
FALSE, I'd like the cell to be blank. Any ideas are greatly appreciated.




  #5   Report Post  
N Harkawat
 
Posts: n/a
Default

Simply put a -- (double negative) in front of your formula to look like this

--IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

becasue --(True) is equal to 1 and --False = 0


"pomalley" wrote in message
...
I'm using the following function in cell C3:

=IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

The result in C3 is TRUE. If the value in A1 = network and the value in
B3
is "h", give me the number 1 in cell C3 instead of TRUE. If the result is
FALSE, I'd like the cell to be blank. Any ideas are greatly appreciated.





  #6   Report Post  
pomalley
 
Posts: n/a
Default

Worked like a charm. Thanks so much.

"N Harkawat" wrote:

Simply put a -- (double negative) in front of your formula to look like this

--IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

becasue --(True) is equal to 1 and --False = 0


"pomalley" wrote in message
...
I'm using the following function in cell C3:

=IF($A1="Network", AND(ISNUMBER(FIND("h",$B3))))

The result in C3 is TRUE. If the value in A1 = network and the value in
B3
is "h", give me the number 1 in cell C3 instead of TRUE. If the result is
FALSE, I'd like the cell to be blank. Any ideas are greatly appreciated.




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
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
How do i convert a number of seconds to a date/time? Margo Excel Worksheet Functions 2 January 5th 05 12:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
Convert week number into calendar month? WickyWick Excel Worksheet Functions 2 November 9th 04 09:01 PM
How do I convert 300616a to show as a number 303616? SusanK Excel Worksheet Functions 3 November 9th 04 08:40 AM


All times are GMT +1. The time now is 09:01 PM.

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"