I want to create m3 numbers in Excel 'format cells' either as 'custom' or 'special'

Anonymous
2016-07-07T12:01:05+00:00

I want to monitor my water consumption bills in Excel and want to calculate used water volume per annum or per month

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2016-07-07T14:49:26+00:00

    Alternate method is a macro

    Sub Cubic_Meters()

        Selection.NumberFormat = "0"" m" & Chr(179) & """"

    End Sub

    Select the number cells and run the macro.

    Or sheet event code for automatic when hit Enter key after input

    Private Sub Worksheet_Change(ByVal Target As Range)

    If Target.Column > 3 Then Exit Sub  'limited to columns A:C

        With Target

            .NumberFormat = "0"" m" & Chr(179) & """"

        End With

    End Sub

    Gord

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-07-07T12:07:03+00:00

    Just go to Format cells > Custom > and add "m3" for cubic metre

    You can apply formulas on it as well

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-07-07T16:07:33+00:00

    Thanks for responding to my inquiry. I am not a 'program-writer' to venture 'inside' the Excel program for a solution.

    The next response from Mr Patel seems to me something I might be able to execute in the 'format cell' part of Excel.

    Thanks again for responding to my request.

    0 comments No comments
  3. Anonymous
    2016-07-07T16:14:36+00:00

    Glad we were able to help you.

    If you found my response helpful, please mark it as an answer for others to see.

    Thanks!

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2016-07-07T16:20:44+00:00

    In that case you should mark Ketul_Patel's solution as the answer.

    Gord

    0 comments No comments