V look up formula or if statement

umarraza

New Member
Joined
Jul 7, 2015
Messages
16
Hi,

I am trying to solve a scenario on excel but not sure what formula to use.

What I am trying to achieve is if a work item is completed within 7 days they receive 5 points, if within 14 days then 3 points and if more than 14+ days than 1 point.

A
B
C
D
1
Work Item
Number of Days to Complete
Points
2
XYZ
21
?
3
ABC
3
?
4

<tbody>
</tbody>

What formula would I use in cell C2 and C3.

Thank you in advance.
 

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.
Here you go:


Excel 2010
ABC
1Work ItemNumber of Days to CompletePoints
2XYZ211
3ABC35
4DEF75
5GHI83
6AAA143
7BBB151
Sheet1
Cell Formulas
RangeFormula
C2=INDEX({5,3,1},MATCH(1,FREQUENCY(B2,{7,14}),0))
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,263
Members
449,149
Latest member
mwdbActuary

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