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.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!