Need Formula to push down 5 numbers instead of 1 !!!

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,446
Office Version
  1. 2007
Platform
  1. Windows
I have this set up. ( Window Vista, Excel 07 )

Excel Workbook
ABCDEFGHIJKLMN
1
2
3
4
5115419514163251797
6211541951416325179
7321154195141632517
843211541951416325
954321154195141632
10655321154191914163
1176653211544191416
1287766321151541914
13988776321115419
14109988766661154
1511101099877776115
16121111101098888761
171312121111109999876
1814131312121110101010988
1915141413131211111111101010
2016161614141312121212111111
2117171716161613131313121212
2218181817171717171717131313
2319191918181818181818181818
2420202020202020202020202020
Sheet1


As you can see the numbers in row 5 ( one at the time ) are taken from the previous column in then put on top of the new column.
with this formula :

=IF(C$5="",0,IF(COUNTIF(C$5:C5,B5),B6,B5))

What I need now is , if I have 5 numbers total for example in :
C5:C9 i would need now since those numbers are on top of the column to be removed from below, exactly like the example with the table above with one number ?

Here the example of what I need :

Excel Workbook
ABCDEFG
1
2
3
4
51226110
62837912
73115131014
841414171216
952016191520
10618261
117311379
12842051315
1395114176
14106416197
1511768213
16129711317
171310920519
181412101142
191513124163
20161513985
2117161510118
22181717122011
231918181544
24201919181818
Sheet1


Thank you very much for any help.

Serge.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Serge,

The array formula below should work. Enter in C10 then copy down and across.

Excel Workbook
BCDEFG
51226110
62837912
73115131014
841414171216
952016191520
10618261
117311379
12842051315
1395114176
14106416197
1511768213
16129711317
171310920519
181412101142
191513124163
20161513985
2117161510118
22181717122011
231918181544
24201919181818
Sheet1
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly,
Excel will surround with curly braces {}.
Note: Do not try and enter these manually yourself
 
Upvote 0
JS411,

Your formula work like a charm, you are a genius, I really appreciate the help.
Thank you very much.

I need help with another formula in the same range but more tricky, I will post it later on tonight or tomorrow.

Thanks again.

Serge.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

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