How do I get this to ignore text?

crof_s

New Member
Joined
Mar 16, 2018
Messages
6
How would I get this formula to ignore the text in cell C4? I keep getting a #VALUE ! error. I want the formula to just use the numbers in the cell.

=IF(SUM(C4*5+D4)*120%>50,SUM(C4*5)*120%,SUM(C4*5+D4)*120%)

Thanks in advance.
 
crof_s, Good evening.

Maybe I missing something.

BUT....
use format at C4 as Custom --> #.##0,00" +vat" is not an option for you?

I hope it helps.
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Nope. For some reason when there is only 4.99 in the C4 cell then my total is fine which is £41.88 when using the formula you just provided. However, once I add the letters in the C4 cell I come up with £11.94?

If C4 must be included in the calculation, do not augment it with text. Otherwise, it becomes literally text. You might want to apply a custom format to C4.
 
Upvote 0

Forum statistics

Threads
1,223,965
Messages
6,175,660
Members
452,666
Latest member
AllexDee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top