How to create formula that compares 2 columns on 2 different sheets & returns a value
Hi,
I need to figure out how to pull in the right dollar amount from another sheet into the main one. The $ amount will be based on 2 criteria:
- The deal type
- The number of doctors
The deal type is a column on both sheets, same with the number of doctors. So I need to compare those 2 columns on both sheets (helper sheet & main sheet), and have the formula bring in the corresponding $ amount onto the main sheet (SPIFF amount column). Below is the helper sheet. For instance, if the main sheet has a row with "CSA" and 14 doctors, I want the formula to key in $25,000 on my main sheet.
See below my main sheet. The $25,000 would populate in the SPIFF Amount column:
How can I accomplish this?
Best Answer
-
@Vera, You could create a helper column on each sheet that concatenates these two values ( Deal Type and # o Doctors), then use Index/Match to find/return the correct dollar value.
Answers
-
@Vera, You could create a helper column on each sheet that concatenates these two values ( Deal Type and # o Doctors), then use Index/Match to find/return the correct dollar value.
-
This worked like a charm! Thank you so much.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!