Partha Misra
New Member
Hi,
I have created a combo box with a list of 2 items. 1 item is a Percentage and another number.So when I select the percentage category, the percentage data is selected and a chart is created based on that data, similarily for the next item i.e number. Now the problem I am faced with is the formatting of the cell which shows the data depending on the item selected from the combo box. The Percentage shows as 0.98 instead of 98% and the chart created also does the same. If I change the formatting of the cell to percentage, the data when is a number shows as 200% instead of 2.
How do I solve this issue and present data on the chart as it is.i.e if it is a percentage it would format as percentage and if it is number it would format as a number?
Please refer the attached workbook for your reference.
Your help would be highly appreciated.
Regards,
Partha
I have created a combo box with a list of 2 items. 1 item is a Percentage and another number.So when I select the percentage category, the percentage data is selected and a chart is created based on that data, similarily for the next item i.e number. Now the problem I am faced with is the formatting of the cell which shows the data depending on the item selected from the combo box. The Percentage shows as 0.98 instead of 98% and the chart created also does the same. If I change the formatting of the cell to percentage, the data when is a number shows as 200% instead of 2.
How do I solve this issue and present data on the chart as it is.i.e if it is a percentage it would format as percentage and if it is number it would format as a number?
Please refer the attached workbook for your reference.

Your help would be highly appreciated.
Regards,
Partha