How to have a cell return a number based on a range in another tab

cmclaughlin

New Member
Joined
Feb 19, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello everyone!

Okay, so I have two tabs. The first tab is this.

The cell containing 132,602 is cell C9. The cell containing nothing is cell C10.

1638485321507.png


Then I have the second tab, which I've named Scale:
1638485280632.png


I am trying to figure out a formula that will take the number in C9 from the first tab, the 132,602, and then compare it to columns D & I in Scale, and then give me the correct number from column A or F.

The difference between the Non-VIP and VIP is a checkbox/button that I set up that gives back TRUE or FALSE, so ideally if I have it unchecked it will be Non-VIP and if I have it checked off it will be VIP.

I've been trying different things and just cannot get this to work.

Any help would be greatly appreciated.

Thank you!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try this to start with (only looks at the first table):
Excel Formula:
=INDEX(Scale!$A$3:$A$35,MATCH($C$10,Scale!$D$3:$D$35,1))

If this works for you then add IF formula to look at the right table
 
Upvote 0
Bartmaster beat me...

Cell Formulas
RangeFormula
F4:F35,A4:A35A4=A3+1
G4:G35,B4:B35B4=B3+C4
D3,I3D3=B3
I4:I35,D4:D35D4=D3+B4


cmclaughlin.xlsx
ABCD
1
2
3
4
5
6
7
8VIP?TRUE
9Total Points132602
10Action10
11
1stTab
Cell Formulas
RangeFormula
C10C10=IFERROR(IF($C$8,INDEX(Scale!$F$3:$F$35,MATCH($C$9,Scale!$I$3:$I$35,1)),INDEX(Scale!$A$3:$A$35,MATCH($C$9,Scale!$D$3:$D$35,1))),"Too few points")
Cells with Data Validation
CellAllowCriteria
C8ListTRUE,FALSE
 
Upvote 0
As you have xl365, another option
+Fluff 1.xlsm
ABC
1
2
3
4
5
6
7
8VIP?TRUE
9Total Points132602
10Action10
Master
Cell Formulas
RangeFormula
C10C10=XLOOKUP(C9,IF(C8,Scale!$I$3:$I$35,Scale!$D$3:$D$35),IF(C8,Scale!$F$3:$F$35,Scale!$A$3:$A$35),"",-1)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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