Apologies first. Nested IF issue and no time to do proper se

ajm

Well-known Member
hi all. its been a while. have moved interstate from the last role, changed career, and am about to be a dad! woohoo! have obviously gone a bit rusty since the last role.

I have what should be a simple If formula.

=IF((E49:E58)="Yes",COUNTA(\$A\$49:\$A\$58),"")

Column E is a list of Yes or No, and column A is a list of names. Why won't this work. I have tried entering it as an array but, get ready for this, I am using a Microsoft Keyboard on an Apple Mac machine so don't know how to enter the array properly.

Anybody care to have a shot at the (somewhat tarnished and grubby) title?

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Re: Apologies first. Nested IF issue and no time to do prope

ajm said:
hi all. its been a while. have moved interstate from the last role, changed career, and am about to be a dad! woohoo! have obviously gone a bit rusty since the last role.

I have what should be a simple If formula.

=IF((E49:E58)="Yes",COUNTA(\$A\$49:\$A\$58),"")

Column E is a list of Yes or No, and column A is a list of names. Why won't this work. I have tried entering it as an array but, get ready for this, I am using a Microsoft Keyboard on an Apple Mac machine so don't know how to enter the array properly.

Anybody care to have a shot at the (somewhat tarnished and grubby) title?

You need to state what you want to achieve. A non-working and/or incorrect formula does not convey that info.

What do you actually want to do?

Couldn't you use COUNTIF?

very good points. what am i trying to do. never really sure.

however, in this case, countif is perfect. was simply trying to count the number of times i get a "yes" in the list. small case of overthinking going on this afternoon. thanks.

The reason your COUNTA function does not work, is that formula counts any occupied cell in the applicable range.

Threads
1,221,185
Messages
6,158,408
Members
451,490
Latest member
desktopace

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

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