Calculation based on conditional formatting

dutchmhk

New Member
Joined
Aug 3, 2021
Messages
10
Office Version
  1. 2010
Platform
  1. Windows
Hello All

I have been struggling with a solution to make a calculation based on a conditional formatting result

Let me explain :)

I have a currency row for which I have made conditional formatting so that a cell fills red whenever there is USD, SEK or NOK text in that cell. - this is working perfectly.
What I would like to do in VBA, is whenever I have a red cell, it will use the value in the cell to the left and multiply it with a cell a few columns to the right (all in the same row)
Then paste the result in the cell to the left from the initial red cell.
So if my active cell is O7 and it's red due to the cell contains "USD" then multiply the value from N7 to U7 and place the result in N7

I hope it makes a bit of sense and you guys are willing to help out :)

Tnx in advance
 

dutchmhk

New Member
Joined
Aug 3, 2021
Messages
10
Office Version
  1. 2010
Platform
  1. Windows
A new thread opened earlier today:



 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,148,170
Messages
5,745,169
Members
423,930
Latest member
Simple77

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
Top