What would be the best formula?

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,392
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a spreadsheet that looks like this, https://www.screencast.com/t/EhxupL7A. The spreadsheet is for developing quotes. CSC stands for community service centre and is a drop down list next to it allowing you to chose the CSC. Each CSC will be in a different location, remote, regional or metropolitan. That then affects the price that workers are paid for a service in that area, for instance, remote areas might attract a higher rate then regional areas. The date is when it is performed and will also change the price of a service, for instance, workers will receive more on a weekend and more again on a public holiday. I have a list of public holidays and I have worked out how to have them all based on formulas so the dates of them calculate each time the spreadsheet is opened. The service is a drop down list with about 8 activities the worker could perform. These will all have different effects on the price. Here is a picture of the contents of that list https://www.screencast.com/t/vdVKdBOW4.

Then there is hrs taken and kms travelled fields. This is followed by a total field.

I am trying to adapt it to use instead of this one my manager is using and he wanted me to simplify it so there is less inputs. https://www.screencast.com/t/wSocY3UjzShi

Here is a picture of some of some of the items from the deliverables list of the original spreadsheet https://www.screencast.com/t/3HTfH0bo

This is a picture of some of the items from a Services price list table in another tab. https://www.screencast.com/t/9lFB3tYMBeB

This is the main formula that is used to calculate the price on the original spreadsheet =IF(OR(ISBLANK(A4),ISBLANK(C4),ISBLANK(D4)),0,VLOOKUP(CONCATENATE(A4," ",C4," ",D4),Service_Price_List,2,FALSE))


What I need to know if what would be a good formula I could use for this new spreadsheet. I have all the tables and everything from the original spreadsheet in the new spreadsheet, just not so many fields to enter information. He wants me to program it so it figures out most things by itself without needing to enter.

Could someone help me please with an appropriate formula that would be efficient in doing this. I don't know if I have added enough info on here about it for anyone to determine the best formula to use, if I need to add more, let me know. I originally was thinking I could use many nested Ifs as I am not that familiar with formulas in excel but that would be very messy.

Thank you,
Dave
 
The last example s/b just


Excel 2010
BCDE
17BNWWork-z1,000.00
18ABC375.00
1e
Cell Formulas
RangeFormula
E17=VLOOKUP(D17,INDIRECT("r"&B17&C17),2,0)
E18=VLOOKUP(D18,INDIRECT("r"&B18&C18),2,0)
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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