#1   Report Post  
ClaytonS
 
Posts: n/a
Default Using IF Statement

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(ISNA(MATCH(B15,A:A,0)),"","X")

--
HTH

Bob Phillips

"ClaytonS" wrote in message
...
I have to columns and basically want to say IF B15= any cell in Column A,

put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS



  #3   Report Post  
ClaytonS
 
Posts: n/a
Default

Thanks!

"Bob Phillips" wrote:

=IF(ISNA(MATCH(B15,A:A,0)),"","X")

--
HTH

Bob Phillips

"ClaytonS" wrote in message
...
I have to columns and basically want to say IF B15= any cell in Column A,

put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS




  #4   Report Post  
cisse_5
 
Posts: n/a
Default

Try

=IF(B15="*","X","")

In my equation I had a real number to specify and it worked but if you
specify if B15 equals anything then the answer may always be X or Nothing.


"ClaytonS" wrote:

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS

  #5   Report Post  
ClaytonS
 
Posts: n/a
Default

Thanks!

"cisse_5" wrote:

Try

=IF(B15="*","X","")

In my equation I had a real number to specify and it worked but if you
specify if B15 equals anything then the answer may always be X or Nothing.


"ClaytonS" wrote:

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS



  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 18 May 2005 10:16:04 -0700, "ClaytonS" wrote:

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS


=IF(COUNTIF(A:A,B15)0,"X","")


--ron
  #7   Report Post  
ClaytonS
 
Posts: n/a
Default

Thank you so much for all your help!

"Ron Rosenfeld" wrote:

On Wed, 18 May 2005 10:16:04 -0700, "ClaytonS" wrote:

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS


=IF(COUNTIF(A:A,B15)0,"X","")


--ron

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
IF Statement nightmare eugenevr Excel Discussion (Misc queries) 6 May 18th 05 01:09 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


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