Trying to have multiple cells deduct from one cell when the integer being deducted is represented by a letter.

Mortamus

New Member
Joined
Jul 11, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
i want to take C3:I10 and deduct a number from B2 if the value in C3:I10 is(number) represented by a letter. i.e. c3:I10 would be represented by "x" the value of "x" being 6 and it being taken from b2 which has the number 250 in the cell. ive tried sum, sumif, nested if, you name it and i get ziltch.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Can you post sample data of what C3:I10 looks like? You can use the XL2BB addin to do this. And explain how/when "x" should be deducted from B2.
 
Upvote 0
we aren't permitted that kind of add in at my company. basically is what i am wanting is if any of the cells in that range has an x in it, it will subtract the number that x represents from the number that is in cell B2.
 
Upvote 0
Your explanation is hard to understand without seeing your data. Perhaps you show us an image of your data?
I have the same limitation regarding add-ins at my company, so I often use screen prints myself (using the Windows Snipping tool, though you could use screen prints too).
 
Upvote 0
Okay, I imagine something like this, however, beyond B2 and C3:I10, I can only guess at your layout:
Book1
ABCDEFGHI
1
2250x=6
3190xx
4x
5x
6x
7x
8x
9xx
10x
11x Count:10
Sheet3
Cell Formulas
RangeFormula
B3B3=B2-(COUNTIF(C3:I10,"x")*D2)
I11I11=COUNTIF(C3:I10,"x")
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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