Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Looking up two criteria in a table, one vertical, one horizontal and finding a value

$
0
0

I have a large table of data.Column A is namesColumns C-I are monthly commissions. (Column C is March 2023, Column D is April 2023, etc)

Columns C-I are going to change regularly as we are pulling in the last 7 months commissions, and commissions are paid on different dates to different people.

I need to be able to tell google sheets to find the Name in Column A, then look for a match on the month (Which will be a cell reference on that person's individual sheet), and then return that commission.

What I am building is a graph showing on each person's individual goal sheets showing that persons past 6 month commissions. I will be using importrange and initially planned to use Vlookup. But the past 6 months could be different for each person depending on their payday. So I can't make it static, saying pull in column 2, column 3, etc. I'm going to have a list of months for that person and need to pull in the commission for that person that matches that month. I hope that makes sense!

This is where I'm pulling the data for each person.enter image description here

This is where I need it to go: enter image description here


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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