Formula has stopped working

Jenniibean

New Member
Joined
Dec 7, 2018
Messages
4
Current formula is =A1*B1 and in C1 is the total. A1 contains a number and B1 contains the word "included" but sometimes it is a number value and not text. I formatted column B as a number so the formula was calculating the word "included" as a number but now it has stopped and it's giving me the #VALUE ! error. Tried an example below of what all needs to be calculated.

HELP!

5included=A1*B1
52,000=A1*B1

<tbody>
</tbody>
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
=A1*B1 will produce a value error whether column B is formatted to number or not. What is it you want it to produce as =A1*B1 obviously cant be calculated.
 
Upvote 0
Right now added a formula: =COUNTIF(B1,"included")*A1 and this works but it will not work if there is a number value in the B column.
 
Upvote 0
Its not at all clear what you want. You clearly cant multiply 5 by a word. What is it supposed to produce?
 
Upvote 0
If you are trying to sew the two values together, you would use CONCATENATE or &, i.e.
Code:
=A1 & B1

If that does not do what you want, then you need to clarify, because we have no idea what you are trying to do.
If you tell us exactly what you expected results are from your examples, that would probably go a long way in helping us understand exactly what you want.
 
Upvote 0
I really want to multiply column A by column B which both contain numbers but sometimes the word "included" is in column B so if that's the case, i'd like the formula in column C to calculate the word "included" as the number 1.

If that makes sense or is possible.
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,358
Members
449,155
Latest member
ravioli44

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