Search for a value in a big big table based on 2 criteras : simple problem excel

robin11

New Member
Joined
Sep 16, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello everyone. I have a little problem. I have a huge table. At the top I have the different age groups of my patients and on the left I have the raw scores that my patients can have. By combining their age and their raw score (corresponds to the cells in yellow), I obtain a standardized score (which corresponds to my cellsin orange). I enter in my cells B42 and B43 respectively the age group and the raw score of my patient and I would like in my box B43 to put a formula that allows me to get the standardized score from the age group and the raw score indicated. Someone told me about the equiv and index functions but I can't get it to work. Can someone help me please?
pbexcel.PNG
 

Attachments

  • pbexcel.PNG
    pbexcel.PNG
    28 KB · Views: 3

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try this:

Book1 (version 1).xlsb
ABCD
41Age of the patient4-0 to 4-2
42Raw score of the patient4
43Calcul of its standardized score71
44
45
46
47
48
49
50
51Raw Score4-0 to 4-24-3 to 4-54-6 to 4-9
520585552
531615956
542646259
553686562
564716865
575757269
586787572
Sheet17
Cell Formulas
RangeFormula
B43B43=VLOOKUP(B42,A52:D58,MATCH(B41,A51:D51,0))
 
Upvote 0
I had to translate it with the french formula but it works perfectly well !
This formula will probably me save me like 4 hours ! Thanks a lot dude, very appreciated ♥️
1631869627100.png
 
Upvote 0
Hi,​
in fact you do not ever need to translate the formula 'cause whatever the local version like your french one Excel is still in native english inside !​
On VBE side open the Immediate window (aka 'Exécution' in french version) then you can manually use some easy VBA statement​
like [B43].Formula = "=VLOOKUP(B42,A52:D58,MATCH(B41,A51:D51,0))" then validate via the Enter key…​
 
Upvote 0

Forum statistics

Threads
1,215,615
Messages
6,125,854
Members
449,266
Latest member
davinroach

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