Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88854

Update an Excel pivot table with a table (from SQL) and an adjustement sheet (with manual entries)

$
0
0

I have an Excel sheet with 3 sheets.

  • Sheet1 is the SQL table (data from here will be refreshed each time the Excel sheet is opened)
  • Sheet2 is the manual entries
  • Sheet3 is the pivot table (merge the data of Sheet1 and Sheet2)

Sheet1 has header like: Product, Quantity, Month1, Month2...

Sheet2 is a sheet were I enter manual adjustment for Products Quantity. This sheet has all same header as Sheet1 because quantity adjustment will be per month.

Sheet2 contains many line of same product with different quantity adjustment like -100, 100... Exemple: Product1 -100, Product1 100, Product1 200...Product2....Product3...

Sheet3 (pivot table) need to make only 1 column line for each products with the Quantity from Sheet1 and adjustment from Sheet2. (sum of sheet1 and sheet2)

When I try to do this the pivot table tell me there is many occurences of same products and it make many lines of the same product...

Any idea how I could acheive this?

Thanks!


Viewing all articles
Browse latest Browse all 88854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>