Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2016, 11:11 AM
H28Sailor H28Sailor is offline Reduction of columns in spreadsheet Windows 7 32bit Reduction of columns in spreadsheet Office 2007
Advanced Beginner
Reduction of columns in spreadsheet
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default Reduction of columns in spreadsheet

Hi
I have a report from survey software which produces multiple columns for a reply to a radio button where one is asked to pick all choices that apply

Example:-
Ethnicity
column heading & contents
ethnicity_1; 0
ethnicity_2; 1


ethnicity_3; 0
ethnicity_4; 1
ethnicity_5; 0

Here, the subject has chosen the 2nd and 4th choices of ethnicity

I am thinking of creating a VBA subroutine which replaces the above 5 columns with a new column
column heading and contents
ethnicity; 2, 4

Question: Does this approach seem reasonable or are there better suggestions?

If you wish to throw some VBA code at me - please feel free
Bob M
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reduction of columns in spreadsheet Matching the values in two columns A and B and to see if there are common values in both the columns Asadmir27 Excel 8 12-29-2016 12:06 AM
Spreadsheet with "CR" & "DB" in amount & number columns. bfisher Excel 4 09-28-2015 07:03 AM
Reduction of columns in spreadsheet Macro to copy specific columns in Excel from another spreadsheet KD999 Excel Programming 1 07-20-2012 08:58 AM
Reduction of columns in spreadsheet How to compare 2 columns with other two columns in EXECL 2007? Learner7 Excel 5 06-12-2010 09:54 AM
CAUTION!! Sorting a spreadsheet with hidden columns will trash your data. psmaster@earthlink.net Excel 0 11-24-2009 11:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft