ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   only match if column is not empty (https://www.excelbanter.com/excel-discussion-misc-queries/235341-only-match-if-column-not-empty.html)

rodchar

only match if column is not empty
 
hey all,

i have 2 columns

beforeAmt, afterAmt
1,2
2,2
"blank row"
3,3

i'd like to do an EXACT on beforeAmt and afterAmt but not on the blank rows
is there a way to leave those blank and do the match for the others?

thanks,
rodchar

RagDyeR

only match if column is not empty
 
Try this:

=IF(AND(A1<"",B1<""),EXACT(A1,B1),"")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"rodchar" wrote in message
...
hey all,

i have 2 columns

beforeAmt, afterAmt
1,2
2,2
"blank row"
3,3

i'd like to do an EXACT on beforeAmt and afterAmt but not on the blank
rows
is there a way to leave those blank and do the match for the others?

thanks,
rodchar




rodchar

only match if column is not empty
 
thanks for the help,
rod.

"RagDyer" wrote:

Try this:

=IF(AND(A1<"",B1<""),EXACT(A1,B1),"")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"rodchar" wrote in message
...
hey all,

i have 2 columns

beforeAmt, afterAmt
1,2
2,2
"blank row"
3,3

i'd like to do an EXACT on beforeAmt and afterAmt but not on the blank
rows
is there a way to leave those blank and do the match for the others?

thanks,
rodchar






All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com