Simple if condition with a table

robin11

New Member
Joined
Sep 16, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, my question is quite simple. It's an excel file used to automatise the calculation of scaled score. A patient take a test on 18 items, then we get its raw score result. Lets say we write the result on the B2 cell.
I want to get the result of the scaled score on the B3 cell. Instead of writing myself in the B3 cell the if condition ( if B2=0;3;B2=1;4) etc... for every case, is there a way to just select the whole table and make it work?
If yes, with which syntax ?
Thanks everyone

1631816125527.png
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi & welcome to MrExcel.
How about
Excel Formula:
=VLOOKUP(B2,C5:D50,2,0)
 
Upvote 0

Forum statistics

Threads
1,214,988
Messages
6,122,620
Members
449,092
Latest member
amyap

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