new books formula

kylefoley76

Well-known Member
Joined
Mar 1, 2010
Messages
1,553
I need to revise this formula and a second condition

=IF(COUNTIF([charts.xlsm]books!$A$1:$A$173,K1493),"#",1)

if a cell in k is blank then i need to mark a #
or if a cell in k matches books!a1:a173 then mark a # which it already does

otherwise, mark a 1
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Maybe

=IF(OR(K1493="",COUNTIF([charts.xlsm]books!$A$1:$A$173,K1493)),"#",1)


M.
 
Upvote 0
I need to revise this formula and a second condition

=IF(COUNTIF([charts.xlsm]books!$A$1:$A$173,K1493),"#",1)

if a cell in k is blank then i need to mark a #
or if a cell in k matches books!a1:a173 then mark a # which it already does

otherwise, mark a 1
COUNTIF requires that the referenced file be open in order to work properly. You can accomplish the same task without the referenced file needing to be open like this...

=IF(K1493="","#",IF(COUNT(MATCH(K1493,[charts.xlsm]books!$A$1:$A$173,0)),"#",1))
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top