• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using single cell for two solutions

semper5

Member
I am looking to have a single cell where a user could put "+" or "-" and then a number in order to add points to a subtotal. This would allow points (Which are calculated) to be added/deleted to the total for usage elsewhere.

In N8, the user would have the option to place points, and the "+" or "-" preceding the number would tell the formula to add or subtract points from the subtotal.

In doing this, Excel doesn't like to see the plus or minus as text, but rather as an operator. I would like to use LEFT or MID within an IF statement in order to add or subtract from the subtotal.

My question is:
Is there a way to format this under custom in order to accomplish this? Or would I be better off having two columns, one for adding points, and one for deleting points? The simpler I keep this sheet for my users, the better for me...

Sheet attached. I've found when I don't attach a sheet, people here get snarky.
 

Attachments

  • OT point calc test sheet.xlsx
    11 KB · Views: 4
Hi

Use the following formatting as custom format

+?#,###,###,###.0;-?#,###,###,###.00 in N8

Thanks
 

Attachments

  • OT point calc test sheet.xlsx
    14.4 KB · Views: 4
Back
Top