+ Reply to Thread
Results 1 to 12 of 12

Custom number formatting help!

  1. #1
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Custom number formatting help!

    Hey guys, i am struggling making the custom number that is being asked for in two tasks, please could you have a look at the attachment and kindly workout what the custom number format should be to fullfill both of the tasks. Thank you in advance.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Custom number formatting help!

    Is what you're trying to achieve what's in that yellow box?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    basically i need to make up two different custom number formats my self using codes such as # ?? 0.00 etc.

    1) The first code needs to display negative numbers in a bracket instead of with a minus sign and all numbers should be displayed to 2 decimal places and include a leading zero.

    2)The second code needs to display the numbers to at least one decimal place but no more than three and the numbers should be aligned by the decimal point.

    Hope it makes sense, thanks for your time.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Custom number formatting help!

    Instead of Custom select Number Category
    Under Number Select 3rd One (1,234)Number.JPG
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    Sorry this task requires me to use the custom function only.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,813

    Re: Custom number formatting help!

    This has the feel of "homework", so I am hesitant to just give you the custom number format. As a nudge in the right direction:

    1) Here is a help file with the available number format codes. A similar file should be available in the help for you Excel installation: https://support.office.com/en-us/art...rs=en-US&ad=US
    2) For the first case, review the first section where it explains how to have different formats for positive and negative numbers. The example given in this section should only require minor modification to fill the given assignment.
    3) For the second case, review the description of the ? character and how it behaves in number formatting.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    yes what im trying to acheive is set in the yellow box

  8. #8
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    This is homework and has been driving me crazy for the last two days haha.

  9. #9
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    Quote Originally Posted by MrShorty View Post
    This has the feel of "homework", so I am hesitant to just give you the custom number format. As a nudge in the right direction:

    1) Here is a help file with the available number format codes. A similar file should be available in the help for you Excel installation: https://support.office.com/en-us/art...rs=en-US&ad=US
    2) For the first case, review the first section where it explains how to have different formats for positive and negative numbers. The example given in this section should only require minor modification to fill the given assignment.
    3) For the second case, review the description of the ? character and how it behaves in number formatting.
    I have been over multiple tutorials and guide, but im really struggling to derive a codes thats accepted.

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,813

    Re: Custom number formatting help!

    Two days is frustrating.
    After two days of struggling and research, you must have tried some format codes. What format codes have you tried? What was correct, and what did those codes get wrong?

    What have you learned over two days about the 4 sections of a number format code? Which section applies to negative numbers?

    What have you learned about the three digit placeholders in number format codes ?,0,#?

  11. #11
    Registered User
    Join Date
    10-01-2015
    Location
    Birmingham
    MS-Off Ver
    2013
    Posts
    7

    Re: Custom number formatting help!

    Quote Originally Posted by MrShorty View Post
    Two days is frustrating.
    After two days of struggling and research, you must have tried some format codes. What format codes have you tried? What was correct, and what did those codes get wrong?

    What have you learned over two days about the 4 sections of a number format code? Which section applies to negative numbers?

    What have you learned about the three digit placeholders in number format codes ?,0,#?
    Basically you do not get feedback if you get it wrong, only a red flash after submitting the code to indicate you have not met the specification. I have tried numerous codes such as:

    0.00_);(0.00)
    0.00_);(0)
    #,##_);(0)

    0.000 ?????
    0.00 ???

    ill be honest ive been trying all sorts of combination just to pass this, just feels impossible at the moment.

    The excell im using is online part of the https://www.itskills.nhs.uk it is very rigid and simplified version and does not show the outcomes of the code i have been entering only a flash to indicate the code is correct or not thus it is very hard to experiment.
    Last edited by ashfaq786; 10-01-2015 at 09:50 AM. Reason: more information

  12. #12
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,813

    Re: Custom number formatting help!

    Aha, so you are not entering these into Excel to see what each number format code does, you are entering them into some kind of online "test" and it is giving you a 'right/wrong' answer.

    Sometimes, I guess that these online things are looking for one specific answer.

    IMO, the first format code you listed 0.00_);(0.00) should satisfy the requirements of the 1st problem, so I cannot say why the website indicates it does not. Perhaps they want a different character for "bracket"? Perhaps they want something for the 0 and text sections included? Perhaps they mean something a little different by "leading zero"? Perhyaps they want it extended to include the thousands separator for larger numbers (though the problem does not ask for this)? I cannot say why this is wrong for the specified problem.

    For the second one, you are misunderstanding how the ? character works in number format codes. I would suggest you look closer at the example in the help file, maybe try it in Excel some. The example given in the help file is for two digits past the decimal, so it should only require a very small change to make it applicaple to 3 digits past the decimal.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Custom Number Formatting
    By zanshin777 in forum Excel General
    Replies: 9
    Last Post: 05-13-2015, 03:24 PM
  2. [SOLVED] Custom Number formatting
    By schnol in forum Excel General
    Replies: 2
    Last Post: 06-19-2013, 01:32 PM
  3. [SOLVED] Custom Number Formatting
    By huston1679 in forum Excel General
    Replies: 13
    Last Post: 08-07-2011, 04:44 AM
  4. Custom Number Formatting
    By CSBUG in forum Excel General
    Replies: 2
    Last Post: 11-17-2005, 04:50 PM
  5. Custom Formatting a number
    By Hari Prasadh in forum Excel General
    Replies: 9
    Last Post: 01-24-2005, 03:06 AM
  6. [SOLVED] Custom Number Formatting
    By LDanix in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2005, 10:06 AM
  7. Custom Number formatting
    By gizmo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2005, 10:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1