please help me on function or macro

mgm90210M

Board Regular
Joined
Feb 14, 2013
Messages
92
a1b1c1d1e1
1
reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
2
bifocal reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
3
bifocal reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
4
foster grant reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
5
foster grant reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
6
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
7
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
8
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
9
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
10
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
11
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>
12
designer reading glasses

<colgroup><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>
i have 2000 row like this
please i need to divid all of 12 row from a3:a14 to 12 group
i need solution to write automatic in "c" colum from c3:c14
the number of the group

ia am mean from c3 and c4 and in c5 and in c6 to write "grope 1"
and c7 and in c8 and in c9 and in c10 "group 3"
and in c11 and in c12 and in c13 and in c14 write "group 3"
automatic with function or macro



please help me
 
THANKS

GREEL I HAVE WANT TO TANK YOU


i need one more thing
i need a list in column g
the list of all the word that have "Leader Number" in thar row like
in g1
reading asjk
in g2 eyeglass
in g3 reading kmk

































Leader Number

<tbody>
</tbody>
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
With this formula in G1 and copied down maybe:

=INDEX($A$1:$A$18,MATCH((ROWS($G$1:G1)*3)-1,$C$1:$C$18,0))

Excel Workbook
ABCDEFG
1reading wqaGroup 11reading asjk
2reading asjkGroup 12Leader Numbereyeglass
3sunglassGroup 13reading kmk
4reading jkjGroup 24reading wkl
5eyeglassGroup 25Leader Numberreading as
6reading hbhbGroup 26reading qq
7reading knjnGroup 37
8reading kmkGroup 38Leader Number
9reading seasGroup 39
10reading ***Group 410
11reading wklGroup 411Leader Number
12reading ssGroup 412
13reading ilkGroup 513
14reading asGroup 514Leader Number
15reading qqqGroup 515
16reading wwGroup 616
17reading qqGroup 617Leader Number
18reading asGroup 618
Sheet1
 
Upvote 0
what change in this formula :
=INDEX($A$1:$A$18,MATCH((ROWS($G$1:G1)*3)-1,$C$1:$C$18,0))


if i want 50 word in every group
and one
[FONT=Calibri, Arial]Leader Number in every middle of the group [/FONT]














Leader Number


<tbody>
</tbody>



 
Upvote 0
in your exemple it work

but i want to change to 49 to word in every group
like this:
="Group " & ROUNDUP(C5420/49,0)

and this for leader number formula :
=(IF(MOD(C5444,49)=25,"Leader Number",""))




i need to this formula: =INDEX($A$1:$A$18,MATCH((ROWS($G$1:G1)*3)-1,$C$1:$C$18,0))
will fit to 2 formula i matches above

 
Upvote 0
On second thoughts:

=INDEX($A$1:$A$500,MATCH((ROWS($G$1:G1)*50)-25-(ROWS($G$1:G1)-1),$C$1:$C$500,0))

Number in group + 1
Number in group divided by 2 plus 1


Excel Workbook
ABCDEFG
1Test 1Group 11Test 25
2Test 2Group 12Test 74
3Test 3Group 13Test 123
4Test 4Group 14Test 172
5Test 5Group 15
6Test 6Group 16
7Test 7Group 17
8Test 8Group 18
9Test 9Group 19
10Test 10Group 110
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,218
Messages
6,123,676
Members
449,116
Latest member
HypnoFant

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