How to select correct range from the cells with formulas

Henceman

New Member
Joined
Oct 9, 2017
Messages
46
Im trying to fing efficient and correct logic to select available data on the worksheet(range), which is based on another set of data.


Since Im unable to explain the logic required, im attaching the file which features 2 worksheets with 2 colors.

1st worksheet is base and 2nd worksheet is the data needed to be extracted.

Green color means the current correct range for selection for this data.
Yellow color means the potential total range of the data, meaning if there was more info on the 1st worksheet, the range cound be larger by that amount


https://filebin.net/r27tp35bqc8dlrdh

My macro will select the correct data range from the sheet to txt file.

Thank you for thoughts.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Most of us get nervous clicking on Zip files or links to external sites, are you able to post some sample data of your problem?
 
Upvote 0
Actually nevermind the topic, I discovered there is more efficient way to create the correct list in the first place, thread can be closed.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,127
Members
453,021
Latest member
Justyna P

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