Suggest an Formula

shaan.bhasin

New Member
Joined
Feb 17, 2011
Messages
3
Hi

Kindly go through the following table. I want to return the Premium amount in other worksheet where inputs will be age and Term and in 3rd column after entering these two inputs the third can be derived from this table through formula. Kindly suggest the formula through which this can be achieved.

This table can be modified accordingly.



Age - Term - Premium
22 - 10 - 190
22 - 15 - 185
23 - 10 - 195
23 - 15 - 190
24 - 10 - 200
24 - 15 - 195
25 - 10 - 205
25 - 15 - 200
26 - 10 - 210
26 - 15 - 205


Thanks in Advance.
 
Last edited:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Personally I would use something like

<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 71px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>A</TD><TD>B</TD><TD>C</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt">Age/Term</TD><TD style="TEXT-ALIGN: right">10</TD><TD style="TEXT-ALIGN: right">15</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">22</TD><TD style="TEXT-ALIGN: right">185</TD><TD style="TEXT-ALIGN: right">190</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">23</TD><TD style="TEXT-ALIGN: right">190</TD><TD style="TEXT-ALIGN: right">195</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">24</TD><TD style="TEXT-ALIGN: right">195</TD><TD style="TEXT-ALIGN: right">200</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">25</TD><TD style="TEXT-ALIGN: right">200</TD><TD style="TEXT-ALIGN: right">205</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Verdana; FONT-SIZE: 10pt">26</TD><TD style="TEXT-ALIGN: right">205</TD><TD style="TEXT-ALIGN: right">210</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD>Age</TD><TD>Term</TD><TD>Premium</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right">23</TD><TD style="TEXT-ALIGN: right">15</TD><TD style="TEXT-ALIGN: right">195</TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>C10</TD><TD>=INDEX($B$2:$C$6,MATCH(A10,$A$2:$A$6,0),MATCH(B10,$B$1:$C$1,0))</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1

Other users may have alternative suggestions.
 
Upvote 0
Depending on whether this is acceptible to you, or not..
Use VLOOKUP() - and here I'm concatenating your two criteria as the Lookup Value;
It requires that you create a helper column (which you can hide) to create the matching Lookup value in the Lookup table...

FWIW,

Jim
Excel Workbook
ABC
1AgeTermPremium
22210190
315185
42310195
515190
62410200
715195
82510205
915200
102610210
1115205
Sheet1
Excel 2007
Cell Formulas
RangeFormula
C2=IF(VLOOKUP(A2&B2,Sheet2!C1:D2,2,FALSE)=0,"",VLOOKUP(A2&B2,Sheet2!C1:D2,2,FALSE))
Excel Workbook
ABCD
1AgeTermConcatenate_COL_A and Col_BPremium
222102210190
31518515185
423102310195
51519015190
624102410200
71519515195
825102510205
91520015200
1026102610210
111520515205
Sheet2
Excel 2007
Cell Formulas
RangeFormula
C2=A2&B2
 
Upvote 0
Thanks Jason and Jim both of you have suggested a good solution.
As i mentioned i can modify the table so, Jason's was little easy to go on with.
thanks both of you for a prompt reply =)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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