add rows according to cell value

josekr80

New Member
Joined
Aug 6, 2019
Messages
2
Hello,
Hope someone can help me.
I have a table, in column A every 2 cells are merged (1+2,3+4...). In column B, no merged cells, and every cell has a number. Column C, I need to add rows according to cell value on B. But in a way that columns A and B will stay merged. Something like this:
A. B1. C1=2. Row
Row added
B2. C2=3. Row
Row added
Row added
Thanks a lot in advance.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hello,
Hope someone can help me.
I have a table, in column A every 2 cells are merged (1+2,3+4...). In column B, no merged cells, and every cell has a number. Column C, I need to add rows according to cell value on B. But in a way that columns A and B will stay merged. Something like this:
A. B1. C1=2. Row
Row added
B2. C2=3. Row
Row added
Row added
Thanks a lot in advance.

You could rewrite your requirement there are a couple of inconsistencies.

You mention that B is not merged and then you say that it should will stay merged.
You say the numbers are in B but then in your example you put the numbers in C.
You could put 2 images, an image with the original data and another image with the result.

Upload an excel image:
https://www.mrexcel.com/forum/board-announcements/127080-guidelines-forum-use.html
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,348
Members
449,097
Latest member
thnirmitha

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