Trying to have one cell trigger a formula calculation in one other cell

INEEDHELPCO

New Member
Joined
May 1, 2015
Messages
4
I am tring to develop a yield managment type of spread sheet where the pricing peramiters are variables. I have a data entry event in one cell casue it to calculate a formula in another cell. I need to do this for a range of cell but I want each cell in the range to correlate to one and only one cell in the results/formula range. So D7 would correlate to I7, E7 to J7, F7 to K7, G7 to L7, D8 to I8, E8 to J8, F8 to K8, G8 to L8 and so one for two seperate ranges of 84 cells each (4 accros and 21 down).
When something is entered into I7 it will trigger the event to calculate the formula in D7, something entered into J7 would calculate the formula in L7 and so on.
I have been able to get it to work with a simple formula.
Example
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Cells.Count > 1 Then
Exit Sub
End If
If Target = Cells(7, 9) Then ActiveSheet.Range("D7:D7").Calculate
If Target = Cells(7, 10) Then ActiveSheet.Range("E7:E7").Calculate
If Target = Cells(7, 11) Then ActiveSheet.Range("F7:F7").Calculate
If Target = Cells(7, 12) Then ActiveSheet.Range("G7:G7").Calculate
If Target = Cells(8, 9) Then ActiveSheet.Range("D8:D9").Calculate
If Target = Cells(8, 10) Then ActiveSheet.Range("E8:E8").Calculate
and so on
End Sub

When the formula in the cell to be calculated is simple like this =B5+C5
it works.
But when I try to us this formula
=+IF(I9="",0,IF(COUNTA($I$7:$L$27)/84<=$D$35,$E$35,IF(COUNTA($I$7:$L$27)/84<=$D$36,$E$36,IF(COUNTA($I$7:$L$27)/84<=$D$37,$E$37,IF(COUNTA($I$7:$L$27)/84<=$D$38,$E$38,IF(COUNTA($I$7:$L$27)/84<=$D$39,$E$39,0)))))
which is the one I want it works up until a threashold in the IF Then statement is hit an then it changes all the values to that new number. I want it to calculate based on the data in the range at the time something is entered into the correlated cell and not recalculate it ever again unless something is enter into that sell again.
It doesn't look like it is just recalculating everyhthing everytime beacuse it works for the first stage of the IF THEN statement but then it goes crazy. So either the Recalculation is still runing for that cell - don't really think that is happening or something in the formula maybe is triggering the event.
The formula works when I manual run the formulas or when I use a macro that I manually run the range recalculation, however, when I try to do it with an event to automate the updating of the yeild management it doesn't work.
The data in yellow is tied to an event and changed from $20 to $25 when I added the put the name in the Player 1 slot. All the data that remained at $20 is not yet tied to an event trigger. It wasnt working so I didn't complete the code.
I have been working on this for a few days now and would appreciate and help I can get.
Thanks,

[TABLE="width: 502"]
<colgroup><col style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;" span="2" width="78"><col style="width: 48pt;" span="8" width="64"><tbody>[TR]
[TD="class: xl63, width: 78, bgcolor: transparent"][/TD]
[TD="width: 78, bgcolor: transparent"]Player 1[/TD]
[TD="width: 64, bgcolor: transparent"]Player 2[/TD]
[TD="width: 64, bgcolor: transparent"]Player 3[/TD]
[TD="width: 64, bgcolor: transparent"]Player 4[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"]Player 1[/TD]
[TD="width: 64, bgcolor: transparent"]Player 2[/TD]
[TD="width: 64, bgcolor: transparent"]Player 3[/TD]
[TD="width: 64, bgcolor: transparent"]Player 4[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:00 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$25.00[/TD]
[TD="class: xl73, bgcolor: yellow, align: right"]$25.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]John[/TD]
[TD="class: xl68, bgcolor: transparent"]John[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:09 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:18 AM[/TD]
[TD="class: xl73, bgcolor: yellow, align: right"]$25.00[/TD]
[TD="class: xl73, bgcolor: yellow, align: right"]$25.00[/TD]
[TD="class: xl73, bgcolor: yellow, align: right"]$25.00[/TD]
[TD="class: xl73, bgcolor: yellow, align: right"]$25.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:27 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:36 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:45 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]6:54 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:03 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:12 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:21 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:30 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:39 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:48 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]7:57 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:06 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$20.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"]john[/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:15 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:24 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:33 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:42 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]8:51 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent, align: right"]9:00 AM[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="class: xl68, bgcolor: transparent, align: right"]$0.00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[TD="class: xl68, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Available[/TD]
[TD="class: xl64, bgcolor: transparent"]84[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Used[/TD]
[TD="class: xl64, bgcolor: transparent"]24[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]Avg/Available[/TD]
[TD="class: xl69, bgcolor: transparent, align: right"]$5.71 [/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]%Utilized[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]28.57%[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Used Min%[/TD]
[TD="class: xl70, bgcolor: transparent"]Used Max%[/TD]
[TD="class: xl70, bgcolor: transparent"]Rate[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: transparent"]0%[/TD]
[TD="class: xl71, bgcolor: transparent"]30%[/TD]
[TD="class: xl67, bgcolor: transparent"] $ 20.00 [/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: transparent"]31%[/TD]
[TD="class: xl71, bgcolor: transparent"]40%[/TD]
[TD="class: xl67, bgcolor: transparent"] $ 25.00 [/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: transparent"]51%[/TD]
[TD="class: xl71, bgcolor: transparent"]70%[/TD]
[TD="class: xl67, bgcolor: transparent"] $ 30.00 [/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: transparent"]71%[/TD]
[TD="class: xl71, bgcolor: transparent"]85%[/TD]
[TD="class: xl67, bgcolor: transparent"] $ 35.00 [/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl71, bgcolor: transparent"]86%[/TD]
[TD="class: xl71, bgcolor: transparent"]100%[/TD]
[TD="class: xl67, bgcolor: transparent"] $ 40.00 [/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try this...

Code:
[color=darkblue]Private[/color] [color=darkblue]Sub[/color] Worksheet_Change([color=darkblue]ByVal[/color] Target [color=darkblue]As[/color] Excel.Range)
    
    [color=darkblue]If[/color] Target.Cells.Count = 1 [color=darkblue]Then[/color]
        [color=darkblue]If[/color] [color=darkblue]Not[/color] Intersect(Range("I7:L28"), Target) [color=darkblue]Is[/color] [color=darkblue]Nothing[/color] [color=darkblue]Then[/color]
            Target.Offset(, -5).Calculate
        [color=darkblue]End[/color] [color=darkblue]If[/color]
    [color=darkblue]End[/color] [color=darkblue]If[/color]
    
[color=darkblue]End[/color] [color=darkblue]Sub[/color]
 
Upvote 0
AlphaFrog,
Is there a way to have it count a clear or deletion of data in a cell within the range, so it updates the corresponding cell?
Thanks
 
Upvote 0
AlphaFrog,
Please accept my appologies and gratitude. Not sure why but it didn't appear to be wokring when I deleted or cleared the contents of a cell, however, it is working perfeclty now.
You are the best, thanks so much.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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