Sign in to follow this  

Excel Help

Recommended Posts

HouseCookie    0

Hey all,

I'm trying to create an automatic pricing sheet for work. There isn't a specific % of the cost that is charged for maintenance so I have to put all the data in a different sheet and reference too it.

So what I have in the reference sheet is the number of users and then a price to be charged. I need to make a formula in another sheet that looks at this sheet.

in a1 we would enter a number

b1 would be =IF(A1=Sheet1!A1,Sheet1!B1,if(A1=Sheet1!A2,Sheet1!B2,if(A1=Sheet1!A3,Sheet1!B3,.....)

Is there a better way to do this so that I don't need to type out each of the 250 reference lines?

Share this post


Link to post
Share on other sites
Kami-    178

Try researching 'VLOOKUP' ;)

Share this post


Link to post
Share on other sites
HouseCookie    0

That will do it. Thank you!

Share this post


Link to post
Share on other sites
Kami-    178

No problem :)

Don't forget if / iserror if you want to replace the no match found error from #N/A

=IF(ISERROR(VLOOKUP( ...

Share this post


Link to post
Share on other sites
S_Herbie    10
No problem :) Don't forget if / iserror if you want to replace the no match found error from #N/A =IF(ISERROR(VLOOKUP( ...

In Excel 2007 onwards you can use "=IFERROR(..." instead.

This will calculate faster when using large arrays in formulas (e.g. VLOOKUP)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.