sbowen1986
New Member
- Joined
- Dec 22, 2020
- Messages
- 1
- Office Version
- 2010
- Platform
- Windows
Hi There,
I'm working on a spreadsheet that has over 1,000 rows. Only about 20 columns. I'd like to somehow have about 4 columns in each row say something when something occurs (this will make more sense, please read on). They way i'd viewed this originally was using an IF formula where IF column J = Yes then column D and E need to say "VACANT", column K = "YES" and column P = "N/A". However, i very quickly realised that wouldn't work because when column J = NO, i want free text to be added (it is names of employees so can not be a list).
I had a look at using ActiveX controls. Which work. I added a button or checklist with the following:
Range ("D2"). Value = "VACANT"
Range ("E2"). Value = "VACANT"
Range ("K2"). Value = "YES"
Range ("P2"). Value = "N/A"
Now as i say, this works with one problem. When i drag it down to the other rows, it still references row 2. Meaning that if i want the button to work throughout, i'd need to go into each of the 1,000 odd rows and change the row it is referring too.
Can anyone help? This is the first time I've used this functionality so please treat me like an idiot when discussing these things.
I'm working on a spreadsheet that has over 1,000 rows. Only about 20 columns. I'd like to somehow have about 4 columns in each row say something when something occurs (this will make more sense, please read on). They way i'd viewed this originally was using an IF formula where IF column J = Yes then column D and E need to say "VACANT", column K = "YES" and column P = "N/A". However, i very quickly realised that wouldn't work because when column J = NO, i want free text to be added (it is names of employees so can not be a list).
I had a look at using ActiveX controls. Which work. I added a button or checklist with the following:
Range ("D2"). Value = "VACANT"
Range ("E2"). Value = "VACANT"
Range ("K2"). Value = "YES"
Range ("P2"). Value = "N/A"
Now as i say, this works with one problem. When i drag it down to the other rows, it still references row 2. Meaning that if i want the button to work throughout, i'd need to go into each of the 1,000 odd rows and change the row it is referring too.
Can anyone help? This is the first time I've used this functionality so please treat me like an idiot when discussing these things.