Hi
I've got a spreadsheet where I need a one sentence summary in one cell, along the lines of:
"10 signed off (50%); 5 in progress (25%)"
The figure '10' is generated using a COUNTIF statement, and the percentage (50%) using the COUNTIF result in a standard percentage calculation. This is so these values update themselves whenever the 'status' flag (signed off, in progress) is changed on any entry.
Problem is, in order to get this one-line summary to update instantly as well, i need a custom format that would let me reference the number value calculated for the percentage - which tends to have a lot of decimal places, eg: 0.3434343434!
Assuming A1 holds the number value 10, and cell B1 holds the percentage value 0.34343434: for the cell with the one line summary, I have something like:
= A1 & " signed off (" & B1 & ");"
and this returns in the cell
10 signed off (0.3434343434);
How can I get the decimal value to appear as 34% in this cell along with the text?! It's driving me crazy. I know I could do it with a macro button & a bit of VBA, but I was hoping to avoid the need for that.
Many, many thanks
xiano
I've got a spreadsheet where I need a one sentence summary in one cell, along the lines of:
"10 signed off (50%); 5 in progress (25%)"
The figure '10' is generated using a COUNTIF statement, and the percentage (50%) using the COUNTIF result in a standard percentage calculation. This is so these values update themselves whenever the 'status' flag (signed off, in progress) is changed on any entry.
Problem is, in order to get this one-line summary to update instantly as well, i need a custom format that would let me reference the number value calculated for the percentage - which tends to have a lot of decimal places, eg: 0.3434343434!
Assuming A1 holds the number value 10, and cell B1 holds the percentage value 0.34343434: for the cell with the one line summary, I have something like:
= A1 & " signed off (" & B1 & ");"
and this returns in the cell
10 signed off (0.3434343434);
How can I get the decimal value to appear as 34% in this cell along with the text?! It's driving me crazy. I know I could do it with a macro button & a bit of VBA, but I was hoping to avoid the need for that.
Many, many thanks
xiano