Question about using If and Index

Dhurl

New Member
Joined
Sep 23, 2015
Messages
7
Hi,

I'm having an issue with counting words across columns. I'm looking for a solution using multiple index formulas

Team 1Team 2Team 3Total
Keep=INDEX(A2:C2,1,1)
Delete
Keep
Keep

<tbody>
</tbody>

In the case above Index selects 'Keep' but I'm looking for a formula that will pick the word from each row into the total.

Can anyone advise?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
if you wanted to count them per row


Excel 2012
ABCD
1Team 1Team 2Team 3Total
2Keep1
3Delete0
4Keep1
5Keep1
Sheet6
Cell Formulas
RangeFormula
D2=COUNTIF(A2:C2,"keep")
 
Upvote 0
just to update this, I have my formula pretty close but am struggling with the 'True' value at the end

=IF(OR(A2=INDEX(A2:C2,1,1),B2=INDEX(A2:C2,1,2),C2=INDEX(A2:C2,1,3)),"","")

so what I want is for the formula to return either "Keep" or "Delete" as the 'true' value and then blank as the 'False' value
 
Upvote 0
if only optios in the cells are keep, delete and empty, then

=IF(COUNTBLANK(A2:C2)=3,"False","True")

should do it
 
Upvote 0
This A2=INDEX(A2:C2,1,1) will always be true because essentially its saying A2=A2.
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,941
Members
449,094
Latest member
teemeren

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