Formula in Custom Number Format

Shrikant

Active Member
Joined
Dec 28, 2010
Messages
284
Hi.

I know, I am asking too much here. But I have seen much weird (!) things happened with excel so I dared.

Ok. My question is, Is it possible to use formula in Custom Number Format?

e.g.
I have 2 values: Sales of the month, Closing stock of the month
on the basis of these 2, I calculate Inventory Days with a formula (=ClosingStock*30/Sales).

This information I use to mark high inventory items or places with conditional formatting on Closing Stock Column.

For Inv.Days>45
I use custom format "Inv Days >45 Days"* 0.00 to highlight high closing stock.

I want the custom format to be dynamic, so that I can know exact inventory days in the format itself.

like "Inv Days 30", "Inv Days 40" for the respective cell where 30 or 40 is derived by formula.


Again, this problem is not that critical. But I would like to imagine possibilities.. :)
 
Hi.

I know, I am asking too much here. But I have seen much weird (!) things happened with excel so I dared.

Ok. My question is, Is it possible to use formula in Custom Number Format?

e.g.
I have 2 values: Sales of the month, Closing stock of the month
on the basis of these 2, I calculate Inventory Days with a formula (=ClosingStock*30/Sales).

This information I use to mark high inventory items or places with conditional formatting on Closing Stock Column.

For Inv.Days>45
I use custom format "Inv Days >45 Days"* 0.00 to highlight high closing stock.

I want the custom format to be dynamic, so that I can know exact inventory days in the format itself.

like "Inv Days 30", "Inv Days 40" for the respective cell where 30 or 40 is derived by formula.


Again, this problem is not that critical. But I would like to imagine possibilities.. :)

If A1 contains your inventory days formula pasting
Code:
="Inv Days > "&A1&" Days"
in the target cell should give the desired result
 
Upvote 0
This I am aware of...

I am just looking for the possibility of doing that with Custom Number Formatting.

 
Upvote 0

Forum statistics

Threads
1,226,839
Messages
6,193,267
Members
453,786
Latest member
ALMALV

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