Formatting formula results as Number

Lacey D

New Member
Joined
Jan 4, 2025
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I am using the following formula

=TEXT(VLOOKUP([@[Frequency Of Use]],FOU[#All],2,FALSE)&"."&VLOOKUP([@Type],Types[#All],2,FALSE)&"."&VLOOKUP([@Category],Categories[#All],2,FALSE),0)

to get a Dewey decimal system type result

1.2.1

I understand this isn't registering as a number because of the "." but is there any other way to get the decimal type of result that will register as a number?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi Lacey,

If you want to see it as Dewey decimal but store it as a number, you should use the following formula in the cells:

Excel Formula:
=VALUE(TEXT(VLOOKUP([@[Frequency Of Use]],FOU[#All],2,FALSE)&VLOOKUP([@Type],Types[#All],2,FALSE)&VLOOKUP([@Category],Categories[#All],2,FALSE),0))


In the header, you need to go in Number > Format > Personalised and write : 0.0.0

Hope it help,

Vincent
 
Upvote 0
In the header, you need to go in Number > Format > Personalised and write : 0.0.0

I'm not sure what this means. I changed the number format to custom for these cells and it still gives the #value error message with the value added to the formula
 
Upvote 0
Hi Lacey,

Do you have an example of your date, also the personalised format does not change the value of the cell, it only change the apearance of the value. With the format 0.0.0, the input 123 will have the value 123 but you'll see it as 1.2.3

The #value error probably mean that one of your vlookup doesn't find something or return some text that value() try to convert as number.
 
Upvote 0
Try.
Excel Formula:
=TEXT(VLOOKUP([@[Frequency Of Use]],FOU[#All],2,FALSE)&"."&VLOOKUP([@Type],Types[#All],2,FALSE)&"."&VLOOKUP([@Category],Categories[#All],2,FALSE),0)
This may give result as 1.21 INSTEAD OF 1.2.1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,490
Messages
6,185,294
Members
453,285
Latest member
Wullay

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