Potential Index Formula Question...

V L

New Member
Joined
Jul 25, 2024
Messages
15
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Friends: I am in need of the following assistance. I have dates in cells F17 to F36. Some cells contain blanks. I have dollar values in Q17 to Q36. Some cells may also contain “---“. I need a formula to do the following. In cell C8, I would like to show the dollar value from range Q17 to Q36 which corresponds to the last cell containing a date in the range F17 to F36. I believe this involves the index formula but am unsure. Thank you for the assistance in advance.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
With 365 you could try:

Excel Formula:
=TAKE(FILTER(Q17:Q36,(F17:F36<>"")*(Q17:Q36<>"---")),-1)
 
Upvote 0
Solution
Would this work?:

Book1
ABCDEFGHIJKLMNOPQ
1
2
3
4
5
6
7
836.00
9
10
11
12
13
14
15
16
1725/07/202430
1826/07/202436
1927/07/202443
2028/07/202445
2129/07/202449
2230/07/202444
2331/07/202444
24---
2502/08/202429
2603/08/202450
27---
2805/08/202413
2906/08/202426
3007/08/202445
3108/08/202431
3209/08/202430
3310/08/202436
34
35
36
Sheet1
Cell Formulas
RangeFormula
C8C8=INDEX(Q17:Q36,MAX((F17:F36<>"")*(Q17:Q36<>"---")*ROW(F17:F36))-16)
 
Upvote 0
Another option:
Book3
CDEFGPQ
836
9
1707/25/2430
1807/26/2436
1907/27/2443
2007/28/2445
2107/29/2449
2207/30/2444
2307/31/2444
24---
2508/02/2429
2608/03/2450
27---
2808/05/2413
2908/06/2426
3008/07/2445
3108/08/2431
3208/09/2430
3308/10/2436
34
35
36
Sheet1
Cell Formulas
RangeFormula
C8C8=LOOKUP(9.999999999999E+307,F17:F36,Q17:Q36)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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