how to prevent formats from changing?

flyers2thecup

Active Member
Joined
Jul 29, 2004
Messages
362
I receive spreadsheets from business lines with information regarding bonuses. I then copy/paste some of the information into a .csv file to upload into our system.

Some of the business lines bonuses are sales and they use formulas to generate the amount of the bonus. In doing this, it's not odd to see a number with 10+ digits past the decimal place. This causes an error if uploaded. Not to mention, if they use comma separator for thousands.

My spreadsheet template has the correct format, but if they don't consiously COPY/PASTE SPECIAL/VALUES, then it changes the formatting to that of what is getting pasted.

Is there a way to prevent that from working?? or a pop up message or something?

In fact, I wouldn't want ANY formatting to change on the ENTIRE sheet. Is that feasable?

Thanks in advance!
 
Can you email me a sample .csv file, gholding no more than 10-20 records?

As well as a description of what you'd like the finished product to look like?
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
You can find the two files at:

http://www.trffl.com/junk/template01.xls
http://www.trffl.com/junk/template02.csv


Template01 is the payment request template that managers need to complete. As you can see, i plugged in awards with numbers well beyond two decimal places. that's one of the things i want to prevent. I also want the formats of the data to not change. (ie. font size, location, etc)

template02 is the csv file that i need to use to upload. i've already fixed the award amounts in there so they are only 2 decimal places.

thanks for the help. and sorry for the late response...i wasn't at a pc all weekend.

(y)
 
Upvote 0
flyers2thecup said:
That is correct. The .csv file always pulls the EXACT same information from the payment request.

(employee ID, earnings code, bonus, total, blank, blank, blank, managment unit)

the earnings code isn't on the payment request. there is a GL Account #, which is attached to a specific earnings code. if there is some kind of "if then" that can be written into it, fine. otherwise, i can manually put the earnings code in.

How many earnings code are there, and what are the eqiuv. GL Account numbers?
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,395
Members
449,446
Latest member
CodeCybear

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