Answers for "excel how to format bytes as KB, MB, GB"

VBA
1

excel how to format bytes as KB, MB, GB

'Use Excel Number Formats to format bytes as KB or MB or GB.

'Select the range and apply the following number format:
[<1000000]0.00," KB";[<1000000000]0.00,," MB";0.00,,," GB"

'Or for Excel versions that use the comma as the decimal separator:
[<1000000]#.##0,00" KB";[<1000000000]#.##0,00.." MB";#.##0,00..." GB"
Posted by: Guest on April-01-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language