Insert a Column when cell changes value - vba

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
660
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Insert Column when cell changes value in Row 1:1. There are many columns (QN:QXY)
Thank you.

NBA.xlsm
QLQMQNQOQPQQQRQSQT
1Sat, Dec 11, 2021Sun, Dec 12, 2021Sun, Dec 12, 2021Sun, Dec 12, 2021Sun, Dec 12, 2021Sun, Dec 12, 2021Sun, Dec 12, 2021Mon, Dec 13, 2021
2Denver NuggetsMilwaukee BucksBrooklyn NetsDallas MavericksNew Orleans PelicansMinnesota TimberwolvesOrlando MagicMiami Heat
3San Antonio SpursNew York KnicksDetroit PistonsOklahoma City ThunderSan Antonio SpursPortland Trail BlazersLos Angeles LakersCleveland Cavaliers
4DENMILBKNDALNOMINORLMIA
5SANNYKDETOKCSANPORLALCLE
2021-2022
Cell Formulas
RangeFormula
QL4,QN4:QT4QN4=VLOOKUP(QN$2,$B$2:$D$79,3,0)
QL5,QN5:QT5QN5=VLOOKUP(QN$3,$C$2:$E$79,3,0)
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,377
Messages
6,124,598
Members
449,174
Latest member
chandan4057

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