Help with Formula to pull rates from specific cells

Arinoum

Board Regular
Joined
Sep 28, 2016
Messages
64
I am working on a pricing calculator to pull specific rates from a second sheet.


First Sheet:
NameRate
This is a drop down that shows the list of names from the second sheet (B2:F2)This is where the formula should go = Rate associated with Name selected in the drop down x A1 (quantity). if it helps service line is in cell A2

Second sheet:
Service LineKellyLoriLisaJohnsonDawn
1 Day2.8533.512.25
2 Day 5.706.30314
3 Day 5.425.40315
4 Day5.225.10316
5 Day4.825.50317


I used a variation of this formula but it's showing a #SPILL error
=IFERROR(INDEX('SHEET2!B2:F6,MATCH(SHEET2!B2:F2,0),MATCH)SHEET2!A1:A5,0)+1)*A1,0)

Any help is much appreciated. Thank you!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You haven't told either of the match functions what to look for.
Which cell is the drop down in?
 
Upvote 0
Ok, try
Excel Formula:
=IFERROR(INDEX(Sheet2!B3:F6,MATCH(A2,Sheet2!A3:A6,0),MATCH(B2,Sheet2!B2:F2,0))*A1,0)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,867
Members
449,053
Latest member
Mesh

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