#1   Report Post  
tom300181
 
Posts: n/a
Default IF problem.....


I have got a sheet that has 3 columns.

A - Code (801,802, 803, 0, " ")
B - Time (14:00:01... )
C - formula

I want C to look @ A establish which code is present and if 801/2/3 etc
return time from B. However, if code is 0 I want C to return time from
B but the issue arrises if A has a space it returns the time from B.

How can I get it to return a space/- if col A is a space and not a
code.

Thanks


--
tom300181
------------------------------------------------------------------------
tom300181's Profile: http://www.excelforum.com/member.php...o&userid=21580
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


=IF(A1=" ","",your_formula_here)

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #3   Report Post  
tom300181
 
Posts: n/a
Default


Thios does not appear to work. Anyone got any ideas?

Thanks

Tom


--
tom300181
------------------------------------------------------------------------
tom300181's Profile: http://www.excelforum.com/member.php...o&userid=21580
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #4   Report Post  
mangesh_yadav
 
Posts: n/a
Default


can you post your current formula, also what do you mean by space, is it
" " or "". Try both.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #5   Report Post  
tom300181
 
Posts: n/a
Default


By space I mean an empty cell....... Apologies for any
misunderstandings...

Thanks

Tom


--
tom300181
------------------------------------------------------------------------
tom300181's Profile: http://www.excelforum.com/member.php...o&userid=21580
View this thread: http://www.excelforum.com/showthread...hreadid=380011



  #6   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Becasue of

A - Code (801,802, 803, 0, " ")


I gave the formula:
=IF(A1=" ","",your_formula_here)

Change it to:
=IF(A1="","",your_formula_here)

What this does is, check if cell A1 is blank, if so, it puts the "" in
the result cell, else, your_original_formula

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #7   Report Post  
swchee
 
Posts: n/a
Default


Hi, is this suit yr purpose?

IF(A1 < "", B1, "")

regards


--
swchee
------------------------------------------------------------------------
swchee's Profile: http://www.excelforum.com/member.php...o&userid=24279
View this thread: http://www.excelforum.com/showthread...hreadid=380011

  #8   Report Post  
paul
 
Posts: n/a
Default

" " is a space "" is blank.If " " doesnt work then you have more than one
space in there,or do you have some other characters with a space between??
--
paul
remove nospam for email addy!



"tom300181" wrote:


Thios does not appear to work. Anyone got any ideas?

Thanks

Tom


--
tom300181
------------------------------------------------------------------------
tom300181's Profile: http://www.excelforum.com/member.php...o&userid=21580
View this thread: http://www.excelforum.com/showthread...hreadid=380011


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
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
Problem with Array Formulas and ISNUMBER Henrik Excel Worksheet Functions 1 February 10th 05 12:31 AM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Paper Tray selection Problem, Michael Hoffmann Excel Discussion (Misc queries) 4 December 3rd 04 09:08 PM


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