superbeast326

Board Regular
Joined
Nov 12, 2011
Messages
132
I have a list of eight names.

Is there a formula where I can make the first name repeat from a1:a6, second a7:a12, so on and so forth.
 
Okay, if that is the case. I just got another quick question. Before I say what it is, I want to extend my gratitude to you, from the botton of my heart, for your kind and willing replies. So here is my question, If I have a column (E2:E51), that is going to filled with names and I want to find the sum of the instances where each of my eight names appear in the column, I would I go about doing it?
 
Upvote 0

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".
You don't need to array enter it because we are using SUMPRODUCT. Had we been using SUM then, yes, it would have needed committing with CSE.

How it works:

COUNTIF(Range,Criteria)

Countif is typically used to count a single criterion. We can however feed an array of values to the criteria argument, for example:

COUNTIF(Range,{"x";"y";"z"})

And in turn this will yield an array of results. For example {2;1;2} (e.g. suggesting two occurrences of "x", 1 of "y" and 2 of "z"). Typical of all array formula methods, Excel doesn't know what to do with the array result until we instruct it what to do with the array. To pass an instruction we have to choose a worksheet function. Here you want to know the combined count so you pass SUM or SUMPRODUCT. Hence:

=SUMPRODUCT(COUNTIF(Range,Array))
 
Last edited:
Upvote 0
Yes. SUMPRODUCT processes arrays and therefore does not require explicit instruction to treat it as an array formula.
 
Upvote 0
I have now come across another conundrum, I have named formulas. Is it possible to using those formulas in a Data Validation List?
 
Upvote 0
Yes, provided those named formulae yield a valid range. Invoke DV, and in the list range enter the name. You may have to qualify the sheet as well if the name is scoped to a worksheet.
 
Upvote 0

Forum statistics

Threads
1,215,960
Messages
6,127,943
Members
449,412
Latest member
montand

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