# Formula and tables

Occasional Contributor

# Formula and tables

Hello All

Needing some help

I have a large multi-worksheet document with multiple tables all gathering info from each other through different formulas and document links

Here is what I am trying to do

Column A in table 51 has a list of asset numbers. Column B in Table 51 needs to show data calculated from column P in Table 3 IF column F in Table 3 has a specific asset number listed. If there are multiple instances of the unit number listed in column F of Table 3, the data from each instance in Column P of Table 3 needs to be added together then listed in the correct corresponding asset number cell in Table 51.

Does that make sense?

7 Replies

# Re: Formula and tables

@lorie3345 To be honest, it's all a bit vague. But when you say "the data from each instance in Column P of Table 3 needs to be added together" it seems you are looking at numerical values in "column P. Look into the SUMIF and/or SUMIFS functions.

# Re: Formula and tables

I know, it's hard to explain
I tried a SUMIF - got #spill error and INDEX/MATCH - got #N/A error

basically have a list of assets and I need to see how many liters of fuel each unit burns on a month to month basis. The raw data comes from our fuel vendor which I paste into a "data" table. I have a new worksheet and therefore a new data table in the document for each month. The raw data lists fuel cards and units. The "data" table I create is then used in a new table to break out how many liters are charged to specific fuel cards and what unit was assigned to each fuel card at the time of purchase. I have that part done. Now I need to create another table which breaks out the total liters by unit, not by fuel card

# Re: Formula and tables

sometimes one asset may have two or three fuel cards so all the liters from all three cards would need to be added together and displayed in the total liters cell for that specific asset number in the new table I am trying to build

# Re: Formula and tables

@lorie3345 A spill error means that you have a recent Excel version. Spilling means that Excel tries to put a result in multiple cells in one go, but it can't as something is in the way. Would have to see your file. Perhaps Power Query would be worth looking into. But again, I can't tell without seeing the file.

# Re: Formula and tables

I created a modified version of my document (removed all sensitive/confidential data)
Am I able to upload it to you somehow?

# Re: Formula and tables

@lorie3345 You can send it to me via a direct message. No guarantees though that I'm going to look at it tonight. I'm on CET and it's diner time. Thereafter, ice hockey.

# Re: Formula and tables

haha, no problem
thank you for having a look when you have some time