Link to home
Start Free TrialLog in
Avatar of contrain
contrainFlag for United States of America

asked on

Getting a function to stay in an XL 2010 csv file

I have an XL 2010 worksheet I need to save as a csv file. I have a function in one cell that refers to another cell in the same worksheet, and an additional cell that also refers to that same additional cell. I have attached pictures of my situation. In the first file, Display function, (I have the display function in cell turned on)it shows what the functions are that I want to keep in my csv file. Cells F2 and G2 since they both refer to cell C2.
In the second attached file, Display function after reopen, you can see that I lose the functions that were in the previous cells. I know you get the dialog box when you're saving as a csv that some things are not compatible, but I was wondering if there is a workaround for this where I can just use the original file as a template and each time it is opened, it can be saved as a csv file with a different name, but maintain the functions in the 2 cells?

Thanks,
C--Users-rlaughridge-Desktop-Temp-Di.PNG
C--Users-rlaughridge-Desktop-Temp-Di.PNG
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I'm not certain what you mean but you could add your formula(s) to a new workbook and save that workbook as an xltx template file and the always open that file, import your csv file into it, and save as a new workbook.
Avatar of contrain

ASKER

Hi Martin,

Thanks for getting back to me. The only problem with importing a csv file into an xl template and saving as such is that I need to upload the file as a csv so it needs to be in that (csv) format for uploading. Other people will be working with it so I want the formulas already in place so they can just add data to columns A,B,C and the functions pull that info into the function cells.
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This was basically the solution I came up with. There is no way to actually save an excel 2010 file in a csv format that will maintain the formulas or funtions, so the workaround I found which is almost identical to what the Expert suggested, is to save the file with the formulas and functions intact as an XL template, then whenever I usa the template, add my data which the formulas refer to and save the end result as a csv file. I still get to save time with functions, and have my csv file too. This is the end result I was looking for.