Macros for formatting a data dump

Closed
mch24 Posts 2 Registration date Thursday May 30, 2013 Status Member Last seen May 31, 2013 - May 30, 2013 at 08:32 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 3, 2013 at 11:03 AM
Hi All,

I am new to macros and was looking if some 1 could help in coding a macros for formatting of the data. Below are the issues/Steps

1. The data input would be manual from an application
2. The data relates to aged creditors balance for each vendors that needs to be put together.
3. In the input file the Supplier code is in cell A3, Supplier name is on cell B3 but the vendor balance is in cell F6
4. The expected output file from the macros would be to put Supplier code in column A, Supplier name in column B and the Supplier balance in Column B.

Hope I have been clear. If not please let me know. Thanks to you all in advance.
Related:

3 responses

TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 552
May 30, 2013 at 11:01 AM
Hi Mch24,

I don't think I understand you because it looks to me that you want to move column F to column C ("Supplier balance in Column B" is a typo, right?).

Do you maybe mean that all the supplier codes are in A3? If so, then how are they sperated?

Please shine some light on the confusion.

Best regards,
Trowa
0
mch24 Posts 2 Registration date Thursday May 30, 2013 Status Member Last seen May 31, 2013
May 31, 2013 at 04:44 AM
Hi Trowa,

Thanks for your reply.

The expected out put would be to put the supplier code in one column, Supplier name to the next column of supplier code and the supplier balance in the next column of supplier name.

In the input file all these are in cell A3, B3 and F6 for Supplier Code, Supplier name and Supplier balance respectively.

Appreciate your help.

Thanks,
0
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 552
Jun 3, 2013 at 11:03 AM
Hi Mch24

If all the supplier codes are in A3, then how are they separated?
Is it with a space or comma or ....?

You can then use the Text to Columns option to separate your data (probably best to use a separate sheet for that).

Then transpose the row of data to column.

Best regards,
Trowa
0