Adding a row in a table, while its position based on a cell in sorted column

Status
Not open for further replies.

dikken20

Board Regular
Joined
Feb 25, 2009
Messages
127
Office Version
  1. 2010
Platform
  1. Windows
Hello,

I have a table with dozens of columns and hundreds of rows. This is a sample of the table to illustrate what I need:

View attachment 35956

Facts:
* I have two values as Keys: Name and Serial.
* Row B (=Name) is sorted.
* All values in the table (including Name) are initiated on another table by the Serial as a key.

What I need?
I need to add a row while its position is based on its "Name" and keeping all formulas of the row, meaning, copy formulas.
I would like to have some input window (maybe a form?) to insert the Name and Serial so it could complete the Adding Row task.

For example:
Name = DEF
Serial = 234567

Result will be the next:
1617622332974.png


In this example the row #5 inserted and all cells in this row (excluding the Serial) are formulas copied from row #4 (except from Serial which copied the same, meaning, not based on formula in the previous row)

How do I do that?
Thank you.
 

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".

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
60,323
Office Version
  1. 365
Platform
  1. Windows
Duplicate to: Adding a Row in a table cause an error

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Status
Not open for further replies.

Forum statistics

Threads
1,137,125
Messages
5,679,769
Members
419,855
Latest member
Eddier32

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
Top