excel formula

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel formula

Excel formula

resolvedResolved · Urgent Priority · Version 2010

Liz has attended:
SharePoint course

Excel formula

I have a spreadsheet in which rows 24 to 168 have types identified in row D and attributes/values relating to each type in the other columns to the right of D.

Below this is another zone which has locations identified on each row, and for each location a number of types are entered in cells G to O (max no. of types is 9)

I need a formula which will look up the relevant types which occur G to O, then look for the relevant type rows above and find the value of cell AS and add together all (i.e. up to 9 values)

Can you please help?



RE: Excel formula

Hi Liz,

Thanks for the forum question.

I have attached a workbook where you in sheet1 cell B5 can see my solution.

I am using a sumproduct and vlookup functions.

If you change the value (1 to 5) in A5 you can see that Excel add up in B5.

In the vlookup I refer to an array by using curly brackets {}. The array I refer to is {2,3,4,5,6,7,8,9,10} column 2 to 10 in the vlookup array.

I hope this will do what you want.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Attached files...

sum lookup.xlsx

Mon 29 Sep 2014: Automatically marked as resolved.


 

Excel tip:

Change the default location for opening and saving spreadsheets

If you are always opening spreadsheets from and/or saving documents to a specific location that is not My Documents, save time by setting this folder as the default for opening files from and saving files to.

Here's how:
1. Go to Tools - Options.

2. Select the General tab.

3. Enter the pathname of the folder you wish to make the default in the Default File Location box (hint: it will be easier to use Windows Explorer to navigate to this folder, then copy and paste the pathname from the address bar at the top of the Windows Explorer screen).

4. Click OK.

You have now changed the default folder for opening and saving spreadsheets.

View all Excel hints and tips


Server loaded in 0.08 secs.