What does &syYes mean? Using the COUNTIF function.

chrisjread

New Member
Joined
May 7, 2009
Messages
4
I’m editing an excel file which uses the COUNTIF function. I understand the syntax of COUNTIF ie, =COUNTIF(range, criteria) but I don’t understand a statement someone has used for the criteria which is “=”&syYes somewhere else they’ve used “=”&syNo<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
For example a cell might have <o:p></o:p>
<o:p></o:p>
=COUNTIF(D12:AY12,”=”&syYes)+COUNTIF(D12:AY12,”=”&syNo)<o:p></o:p>
<o:p></o:p>
If anyone's able to shed some light it’d be very much appreciated
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I'm guessing syYes is a named range

click Insert - Name - Define
See if it's listed there, it should show you what cell it refers to.
 
Upvote 0
Yep that's the one, a colleague just had a look and pointed it out - another confusion came when it turned out the named range was just a cell with 'ü' in it, but apparently this is excel language for a tick.

Thanks for responding!
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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