How do I change that format from with in SSRS?
Main Topics
Browse All TopicsI have a report that needs to be able to be changed once its sent out to the field in excel. I have found a work around that allow me to set up the formula the way I need it to be but when I pull it up in excel all I see is the text for the formula. I then have to go to that cell, put my cursor in the formula box and hit enter for it to automaticaly calculate. How can I get it so that I don't have to do that last step?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am not familiar with the SSRS but I can give you a macro which you can run on the excel after it is created.
This should resolve the issue.
- Ardhendu
p.s: BTW, while creating this report in SSRS, do you have any options which changes the formatting of the columns as TEXT instead of GENERAL? Can you check?
Unfortunantly the macro will not work because the number of colums before the formulas changes every time the report is ran and I can not attach the macro to the excel spread when it is exported from SSRS. I've looked at the formatting and I have the option to render the data output as an "attribute" or "element". I have tried both but have not been successful. I'm willing to try those again if there is something else that I should have changed but didn't
Hi,
When you are exporting the data into excel, everything is converted into text and moved out. This is obivously messing up the formulas as they are not meant to be stored as TEXT.
When you are editing anything in the cells, Excel recalculates and then displays the actual value.
I looked at your screenshots and there seems to be one possibility. What is the purpose of the tab marked as Format. Can you change any format of the end-cells over there?
- Ardhendu
I did some more digging up at the MSDN forums and it looks like this is an issue which Microsoft still has to fix.
So currently there is no way to fix this short of editing the cells with the formulas in it.
Pls See attached screenshot and link below.
http://social.msdn.microso
- Ardhendu
p.s - I also learnt something new today. Thanks for the opportunity to answer your question.
Like I said, I don't know of any way, short of buying a third party add-on (http://officewriter.softa
Sorry about that I didn't see the "No" in front of way. I did find a way to get things to work. I passes text strings like the one above that use indirect cell referencing. The only issue I have is that Excel treats the formula like a text string. I then have to go through the hassle of doing a replace all of "=" for "=" (yes I'm replacing it with the same thing) Once I do that excel recalculates everything nicely
Yes that does work for the speciffic file. The only problem is that report gets sent out to 10 different people and I would need a way to attach that macro to the report it's self. I'm not good with Macros. Is there a way to code the macro within the speciffic sheet? That would be the best solution short of MS correcting this issue.
This macro will work on any report that is created from SSRS and not necessarily on this file. After you download and save your reports from SSRS, just run this macro and select the created file. It should be able to fix all the files.
You do not have to change any code at all. I have made this code generic to work on excel files which has the formulas on any column or cell within a selected spreadsheet. Please test this with a few other files and let me know if this does not work.
- Ardhendu
Also if you like, I can automate the emailing part of the file too. So when you create a report and save it, all you need to do is open this macro and click on the button.
1. Excel will prompt you to select the right file.
2. Once the file is selected, the macro will change the text into formulas.
3. It will save the file and you will be prompted to mail this out to the group as well.
See attached code.
- Ardhendu.
It might function correctly I don't know I haven't tried it. As for the solution Its not a good one for our organization as we need to have the report distributed through SSRS. I believe this is just something that MS needs to address before a better solution will be found. Thank you for your efforts though
Business Accounts
Answer for Membership
by: pari123Posted on 2009-07-16 at 09:26:38ID: 24870863
HI there,
the reason you were seeing the formula was because of a formatting issue. I have changed the formatting to General instead of Text and you should be fine now. Pls see attached.
- Ardhendu
updated