Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
mlin
Contributor II
Contributor II

Excel Conditional Formatting and Borders

I have a chart in QlikSense and I'm exporting it to nprinting, but if I keep source formats, I can't add borders. If I deselect keep source formats, I can add borders, but I lose the conditional formatting that comes from the app.

Is there a way to 'keep source formats' for the conditional formatting to pass through, but be able to add cell borders? It doesn't seem like you can add the cell borders within the chart in QlikSense.

Do not keep source formats:

mlin_0-1728958275065.png

Keep source formats:

mlin_1-1728958325802.png

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

no there isnt'

The workaround is is to remove "Keep source format" and apply conditional formatting in excel. 

If formula for conditional formatting is complex you can add additional columns to your Qlik Sense table which will have values indicationg what conditional format needs to be applied in Excel. Then you export those additional columns to hidden columns in Excel and referemce them to get required format. 

I use this approach on all my projects where required and it works ok

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

4 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

no there isnt'

The workaround is is to remove "Keep source format" and apply conditional formatting in excel. 

If formula for conditional formatting is complex you can add additional columns to your Qlik Sense table which will have values indicationg what conditional format needs to be applied in Excel. Then you export those additional columns to hidden columns in Excel and referemce them to get required format. 

I use this approach on all my projects where required and it works ok

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
mlin
Contributor II
Contributor II
Author

If you store the conditional formatting as additional columns and hide them, then you can't view them in nprinting/excel either.. How do you bypass that?

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You hide them in excel not in Qlik Sense. In Qlik Sense I prepare dedicated object (with those additional columns) so it does not interrupt the object used by users

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
seanbruton

Kudos nice solution!!