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

ajm

Well-known Member
Joined
Feb 5, 2003
Messages
1,971
Office Version
  1. 365
Platform
  1. Windows
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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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.
 
Upvote 0

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,367
Office Version
  1. 365
Platform
  1. Windows
What do you actually want to do?

Couldn't you use COUNTIF?
 
Upvote 0

ajm

Well-known Member
Joined
Feb 5, 2003
Messages
1,971
Office Version
  1. 365
Platform
  1. Windows
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.
 
Upvote 0

XLGibbs

Well-known Member
Joined
Feb 25, 2005
Messages
2,446
The reason your COUNTA function does not work, is that formula counts any occupied cell in the applicable range.
 
Upvote 0

Forum statistics

Threads
1,195,650
Messages
6,010,925
Members
441,573
Latest member
Goronvir

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
Top