#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cbuck
 
Posts: n/a
Default IF statement

The following IF statement is not working:
=if(A1B1, "", B1-A1)

Value in cell B1 is greater than the value in cell A1, but the statement is
returning a blank, as if value in B1 is less than value in A1.

Any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cbuck
 
Posts: n/a
Default IF statement

I figured out the problem, but it leads to another question. B1 does not
contain a value or expression; it contains an 'image' of a number that was
downloaded from a website. Is there a way to change what is in B1 to a value
or expression?

"cbuck" wrote:

The following IF statement is not working:
=if(A1B1, "", B1-A1)

Value in cell B1 is greater than the value in cell A1, but the statement is
returning a blank, as if value in B1 is less than value in A1.

Any thoughts?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default IF statement

On Tue, 14 Mar 2006 08:48:19 -0800, cbuck
wrote:

I figured out the problem, but it leads to another question. B1 does not
contain a value or expression; it contains an 'image' of a number that was
downloaded from a website. Is there a way to change what is in B1 to a value
or expression?


You'll need to run it though an Optical Character Recognition program.


--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default IF statement

Hi

Your logic is right, but you say that B1 is greater than A1, so the formula
is supposed to return a blank!

Andy.

"cbuck" wrote in message
...
The following IF statement is not working:
=if(A1B1, "", B1-A1)

Value in cell B1 is greater than the value in cell A1, but the statement
is
returning a blank, as if value in B1 is less than value in A1.

Any thoughts?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cbuck
 
Posts: n/a
Default IF statement

And I worked so hard to make sure I phrased the question right. Shows you
what hard work yields. Anyway, I was able to find the =VALUE function, which
converted text to value just fine.

"AndyB" wrote:

Hi

Your logic is right, but you say that B1 is greater than A1, so the formula
is supposed to return a blank!

Andy.

"cbuck" wrote in message
...
The following IF statement is not working:
=if(A1B1, "", B1-A1)

Value in cell B1 is greater than the value in cell A1, but the statement
is
returning a blank, as if value in B1 is less than value in A1.

Any thoughts?






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
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If Statement? John Excel Discussion (Misc queries) 1 January 16th 06 03:47 AM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 05:26 AM.

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"