Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell
Have managed to create a formula that displays "0" as "Level", but cannot fathom out how to insert text before or after a value as above. The cell already has a calculation in it, e.g. =e5-e1 (e5 being gross score, and e1 being handicap.
Any help would be greatly received. Steve |
Excel - Golf - how to display "-2" as "2 Under" or "4" as "+4" or
Alright so this can be done with concatenating.
Your formula should look like =(E5-E1) & IF(E5-E1=0," Level",IF(E5-E10," More Text"," More Text)) "Steve Kay" wrote: Have managed to create a formula that displays "0" as "Level", but cannot fathom out how to insert text before or after a value as above. The cell already has a calculation in it, e.g. =e5-e1 (e5 being gross score, and e1 being handicap. Any help would be greatly received. Steve |
Excel - Golf - how to display "-2" as "2 Under" or "4" as "+4" or
Format|Cells, Number tab, Custom
0" Over";0" Under";0" Level" Hope this helps! -- John C "Steve Kay" wrote: Have managed to create a formula that displays "0" as "Level", but cannot fathom out how to insert text before or after a value as above. The cell already has a calculation in it, e.g. =e5-e1 (e5 being gross score, and e1 being handicap. Any help would be greatly received. Steve |
All times are GMT +1. The time now is 05:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com