age band formula require..

VBABEGINER

Well-known Member
Joined
Jun 15, 2011
Messages
1,232
Based on below data, I need formula to get age band..
Values are in Col E. Output require in Col F.

Col E
17
13
11
14
12
17
18
19
18
16
14
18
10
15
13
15

Age band require..
(10-13,14-16,17-20)...
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
17
13
1110135####
1414165
1217196
1720220
1823250
1926280
1829310
1632340
14
18
10
15
13
15###
=SUMPRODUCT(($A$1:$A$16>=G3)*($A$1:$A$16<=H3)*1)

<colgroup><col width="64" span="14" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
VBABEGINNER, Good afternoon.

There are a lot of ways to solve this kind of question using Excel.

Using VLOOKUP function:

Scenario:

Your data --> E2:E17

Create a little table as Support: (suggestion only)

KLM
21013= K2 & "-" & L2
31416= K3 & "-" & L3
41720= K4 & "-" & L4

<tbody>
</tbody>

Try to use:

F2 -->
Code:
[B]=VLOOKUP(E2, $K$2:$M$4, 3, TRUE)[/B]

Copy the formulas down.

https://www.sendspace.com/file/qzg16h

Is that what you want?

I hope it helps.
 
Upvote 0
Hi Oldbrewer, Thanks for reply. but i really dont understand solution. Thats fine.


Hello Marcílio,

Thanks for your reply. This works for me. Thanks for this trick.

VBABEGINNER, Good afternoon.

There are a lot of ways to solve this kind of question using Excel.

Using VLOOKUP function:

Scenario:

Your data --> E2:E17

Create a little table as Support: (suggestion only)

KLM
21013= K2 & "-" & L2
31416= K3 & "-" & L3
41720= K4 & "-" & L4

<tbody>
</tbody>

Try to use:

F2 -->
Code:
[B]=VLOOKUP(E2, $K$2:$M$4, 3, TRUE)[/B]

Copy the formulas down.

https://www.sendspace.com/file/qzg16h

Is that what you want?

I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,147
Members
449,098
Latest member
Doanvanhieu

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