# Multiplying one cell based on another's value

#### ResolutionDP

##### New Member
Hi, I'm looking for help on how to achieve 2 things:

Firstly, Cell B2 needs to dictate a Bonus Scale depending on the total. For example if B2 is 2,688 then it would reference column G.

Secondly, I need to take the individual total for each Code (B3, B4, B5 or B6) and multiply it by the Bonus Scale value (based on the result from the first point)

So, based on the example below, for "DJ" it would need to know the scale is 2500 and multiply G3 (£1.10) by the total for that Code B3 (1,998) to give £2197.80

Any help would be GREATLY appreciated!

### Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

#### steve the fish

##### Well-known Member
Try this, but <1500 needs to say 0 instead:

=B3*(INDEX(D3:H3,MATCH(\$B\$2,\$D\$2:\$H\$2,1)))

#### ResolutionDP

##### New Member
Try this, but <1500 needs to say 0 instead:

=B3*(INDEX(D3:H3,MATCH(\$B\$2,\$D\$2:\$H\$2,1)))
That's perfect! Thank you so much Steve! Not entirely sure how it works but I will look into Indexing and Matching...Thanks again

Replies
4
Views
229
Replies
6
Views
155
Replies
1
Views
44
Replies
8
Views
116
Replies
7
Views
85

1,129,931
Messages
5,639,064
Members
417,067
Latest member
rohitbabshet

### 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.

### Which adblocker are you using?

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

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