ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   help w indirect and index,match (https://www.excelbanter.com/excel-worksheet-functions/447507-help-w-indirect-index-match.html)

excelhelp_84

help w indirect and index,match
 
I'm working on a user input worksheet where the formulas I create will calculate from user input in the highlighted blue fields and return correct output based on user entry. its attached in a 2010 excel workbook

Anway the output formulas require the following (i'll skip the car make/descrp):

1) Estimated annual cost of gas based on selected type of driving,weight class,annual miles traveled, gas price and engine type

2) Est. insurance cost based on owner's region of residence, driving record, and residential status (hint: include an intermediate calc that lookups up the region number based on the state...blah blah.....have this part below:

VLOOKUP('Estimate Form'!$F$5,Statestbl,4,FALSE)

Lastly,
3) est. avaerage annual maintainence costs for 1st 3 years of operation based on the selected car model and annual miles driven (total 3 yr maintainence costs divide by 3 plus cost of yr of oil changes); to the base maintainence cost, add $29 per oil change for each 5k miles driven

I've tried using vlookup and match alone but that doesn't work. Not sure how to use index and indirect well.

Basically I'm looking for at least one formula that fulfills the requirement and could help me out on either 1 2 or 3. If I can get that should be able to finish the rest.

We're supposed to use the index and indirect functions for these. However, if there's another way to solve it that works, I'd appreciate seeing it.

Thanks

Don Guillett[_2_]

help w indirect and index,match
 
On Sunday, October 28, 2012 2:38:56 PM UTC-5, excelhelp_84 wrote:
I'm working on a user input worksheet where the formulas I create will

calculate from user input in the highlighted blue fields and return

correct output based on user entry. its attached in a 2010 excel

workbook



Anway the output formulas require the following (i'll skip the car

make/descrp):



1) Estimated annual cost of gas based on selected type of driving,weight

class,annual miles traveled, gas price and engine type



2) Est. insurance cost based on owner's region of residence, driving

record, and residential status (hint: include an intermediate calc that

lookups up the region number based on the state...blah blah.....have

this part below:



VLOOKUP('Estimate Form'!$F$5,Statestbl,4,FALSE)



Lastly,

3) est. avaerage annual maintainence costs for 1st 3 years of operation

based on the selected car model and annual miles driven (total 3 yr

maintainence costs divide by 3 plus cost of yr of oil changes); to the

base maintainence cost, add $29 per oil change for each 5k miles driven



I've tried using vlookup and match alone but that doesn't work. Not sure

how to use index and indirect well.



Basically I'm looking for at least one formula that fulfills the

requirement and could help me out on either 1 2 or 3. If I can get that

should be able to finish the rest.



We're supposed to use the index and indirect functions for these.

However, if there's another way to solve it that works, I'd appreciate

seeing it.



Thanks





+-------------------------------------------------------------------+

|Filename: ckg%20operating%20costs_matt_hickman.zip |

|Download: http://www.excelbanter.com/attachment.php?attachmentid=646|

+-------------------------------------------------------------------+







--

excelhelp_84


And just what is this for
We're supposed to use the index and indirect functions for these

Spencer101

Quote:

Originally Posted by 'Don Guillett[_2_
And just what is this for
We're supposed to use the index and indirect functions for these

Sounds like "Homework Help" to me...

excelhelp_84

Quote:

Originally Posted by Spencer101 (Post 1606845)
Sounds like "Homework Help" to me...

I'm sorry but I'm sure there are lots of ppl that come on here for "homework help" they may be less subtle than me but still... What's the deal? is that against the forum rules?

If I can get pointed in the right direction, that can help me as well. The format of the formula should be something along the lines of:

INDEX(INDIRECT(VLOOKUP("Disc",TablDef,MATCH("Tabl_ Def",TablCol,0),FALSE),TRUE),MATCH($E$15,INDIRECT( VLOOKUP("Disc",TablDef,MATCH("row_num",TablCol,0), FALSE),TRUE),1),MATCH("Discount",INDIRECT(VLOOKUP( "Disc",TablDef,MATCH("col_num",TablCol,0),FALSE),T RUE),0))

excelhelp_84

Quote:

Originally Posted by excelhelp_84 (Post 1606846)
I'm sorry but I'm sure there are lots of ppl that come on here for "homework help" they may be less subtle than me but still... What's the deal? is that against the forum rules?

If I can get pointed in the right direction, that can help me as well. The format of the formula should be something along the lines of:

INDEX(INDIRECT(VLOOKUP("Disc",TablDef,MATCH("Tabl_ Def",TablCol,0),FALSE),TRUE),MATCH($E$15,INDIRECT( VLOOKUP("Disc",TablDef,MATCH("row_num",TablCol,0), FALSE),TRUE),1),MATCH("Discount",INDIRECT(VLOOKUP( "Disc",TablDef,MATCH("col_num",TablCol,0),FALSE),T RUE),0))

I guess I dont understand how to use the above example in what I have to do. It wasn't explained well to me how and what an indirect vlookup does in an index


All times are GMT +1. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com