Num Format Issue...??

m0atz

Board Regular
Joined
Jul 17, 2008
Messages
247
Not sure if this is a num format issue or not, but i'm pulling my hair out with this at the minute.

I have AQ2:BE17 filled with currency values (sales figures to 2 decimal places). These values are updated from a userform where I enter in sales figures. The userform updates the spreadsheet with a currency format, when i select the cells in the sheet they show as a currency format, but for some bizarre reason when i try and do a simple sum or average calculation, the results only include whole numbers, i.e. £35.00, £30.00 and not values such as £14.99 etc.

Am i going mad..??
:biggrin:
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Actually - an update on this. I'm assuming it is a format issue of some kind, however all cells are formatted to currency, the userform puts the value in as format(value, "£#,##0.00") but its not taking any value updated from the userform (so ignore my comments about whole numbers etc)
 
Upvote 0
The Format function returns text beacuase you are including the £ sign. So just transfer the value from the UserForm and format the cell as currency.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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