Substitution script with CSV input&output

fenui

New Member
Joined
Oct 16, 2018
Messages
1
Hello dear Excel users!

I got hung up on my lacking knowledge regarding Excel.

My aim is to get a CSV input, which has several coloums, but only 2 is of interest: one which determines the type of data and a number value, which is to be copied unchanged. The output would have a completely different layout (but the contents of the fields can be determined by only that one type-setter data, so it can be auto-filled each time), with the number value in each row transferred.

I imagined to have an Input sheet, a Pairing sheet and an Output sheet, with a Command sheet if possible. The output would end up being a CSV too, so I aim to integrate that function into the script.

My problem is with the first data, the type-setter. I compiled a pairing sheet which determines what type of data converts to what kind of data, but I cant find anything readily which can be used.

What logic could I use to tackle this, and what are the necessary commands?

Thanks in advance.
Regards,
A troubled newcomer
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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