random cell recognition for formula

BlueDingo

New Member
Joined
Oct 19, 2009
Messages
42
I have a spreadsheet where I need the end result to be auto filled after recognition of an adhoc "top up" amount.
How do I get E7 (3170) to automatically recognise the insertion of C7 (3000) to give this result without having to manually update the formula in E7?

Thank you,
Regards, Pete

DATEPURCHASE
ORDER
PRODUCTIVE
HOURS against PO
HOURS USEDHOURS
REMAINING
30-Aug-12abc2000 2000
01-Sep-12 4901510
15-Sep-12 1901320
22-Sep-12 600720
02-Oct-12 550170
11-Oct-12xyz3000 3170
15-Oct-12 2002970
26-Oct-12 2702700
01-Nov-12 5002200

<COLGROUP><COL style="WIDTH: 59pt; mso-width-source: userset; mso-width-alt: 2496" width=78><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2432" width=76><COL style="WIDTH: 97pt; mso-width-source: userset; mso-width-alt: 4128" width=129><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 2944" width=92><COL style="WIDTH: 60pt; mso-width-source: userset; mso-width-alt: 2560" width=80><TBODY>
</TBODY>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I have a spreadsheet where I need the end result to be auto filled after recognition of an adhoc "top up" amount.
How do I get E7 (3170) to automatically recognise the insertion of C7 (3000) to give this result without having to manually update the formula in E7?

Thank you,
Regards, Pete

DATE
PURCHASE
ORDER

PRODUCTIVE
HOURS against PO

HOURS USED
HOURS
REMAINING

30-Aug-12
abc
2000
2000
01-Sep-12
490
1510
15-Sep-12
190
1320
22-Sep-12
600
720
02-Oct-12
550
170
11-Oct-12
xyz
3000
3170
15-Oct-12
200
2970
26-Oct-12
270
2700
01-Nov-12
500
2200

<TBODY>
</TBODY>

Looks like...

Control+shift+enter, not just enter:

=INDEX(E2:E100,MATCH(MAX(C2:100),C2:C100,0))

Note that this will return the E-value corresponding to the first instance max C-value.
 
Upvote 0
Try




Excel 2003
ABCDE
1DATEPURCHASEPRODUCTIVEHOURS USEDHOURS
2ORDERHOURS against POREMAINING
330-Aug-12abc20002000
41-Sep-124901510
515-Sep-121901320
622-Sep-12600720
72-Oct-12550170
811-Oct-12xyz30003170
915-Oct-122002970
1026-Oct-122702700
111-Nov-125002200
12
Sheet3
Cell Formulas
RangeFormula
E4=IF(C4>0,E3+C4,E3-D4)
E5=IF(C5>0,E4+C5,E4-D5)
E6=IF(C6>0,E5+C6,E5-D6)
E7=IF(C7>0,E6+C7,E6-D7)
E8=IF(C8>0,E7+C8,E7-D8)
E9=IF(C9>0,E8+C9,E8-D9)
E10=IF(C10>0,E9+C10,E9-D10)
E11=IF(C11>0,E10+C11,E10-D11)
 
Upvote 0
Looks like...

Control+shift+enter, not just enter:

=INDEX(E2:E100,MATCH(MAX(C2:100),C2:C100,0))

Note that this will return the E-value corresponding to the first instance max C-value.



Thank you Aladin, but not sure what cell this suppose to be entered into.
Have tried a few options, but am now OK with a result.
Again, thnk you
 
Upvote 0
Thank you Aladin, but not sure what cell this suppose to be entered into.
Have tried a few options, but am now OK with a result.
Again, thnk you

I apparently misread the question.

The following in E3 would work to:

E3, copied down:

=SUM(N(E2),-D3,C3)
 
Upvote 0

Forum statistics

Threads
1,215,169
Messages
6,123,412
Members
449,098
Latest member
ArturS75

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