Indirect with unique values

Malhotra Rahul

Board Regular
Joined
Nov 10, 2017
Messages
92
Hello everyone, i have a situation where i do expect the support. Please find here attached workbook in the provided link. The output in column B in Report tab is not giving the correct result. if the Sales person is getting repeat in the second worksheet then i do expect the search result will be from the second worksheet and if the sales person is getting repeat the third worksheet as well then the output search results will be from the last worksheet tab.

Your support would be appreciated.

Rahul

https://drive.google.com/file/d/1VUVWj2YonboXQgszT2zA8RurwfwR-idD/view?usp=sharing
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hello everyone, i have a situation where i do expect the support. Please find here attached workbook in the provided link. The output in column B in Report tab is not giving the correct result. if the Sales person is getting repeat in the second worksheet then i do expect the search result will be from the second worksheet and if the sales person is getting repeat the third worksheet as well then the output search results will be from the last worksheet tab.

Your support would be appreciated.

Rahul

https://drive.google.com/file/d/1VUVWj2YonboXQgszT2zA8RurwfwR-idD/view?usp=sharing
I am not sure about which are the inputs and which the outputs; but you might try, in B2
Code:
=EOMONTH(MAX(IF(COUNTIF(INDIRECT("'"&mysheets&"'!C1:C100"),C2)>0,--LEFT(mysheets,8),"")),0)
To be confirmed using Contr-Shift-Enter; then copy downward

Since my Excel is not the english version, the above formula has been translated to the best of my knowledge.
Copy of your workbook that uses that formula can be downloaded from here: https://www.dropbox.com/s/pvofoj7xp...R_Indirect with unique value_B80318.xlsm?dl=0
I set my formulas in column E, so you can compare them against your ones in column B

Bye
 
Upvote 0
Dear Anthony47, In the Report tab Column B i do expecting the results if the sales person name appearing more than one tab then the results will be separately for each tab. As i have also mentioned the expected results in the provided workbook.

The provided solution providing the results only for a tab. Please do look into the same.

Rahul
 
Upvote 0
Pardon me, but I am more confused...

Working on the sheet that you published, on sheet Report, on line 7 (Sales Person B) and 8-9 (Sales Person C) which information would you like to receive?
-value for the information
-in which cell(s)
-why that value

Bye
 
Upvote 0
the reason is, if the sales person name is getting repeat then the search result will be from next worksheet. The logic behind to get this, is based on the monthwise sales persons data, we want to gather the data in the report tab.
 
Upvote 0
Please try responding the questions I posed in message #5 ; your answers (probably) will help me to understand the question.
 
Upvote 0
Dear Anthony47, if you look into the tab for Feb and Mar then you will find there are also line items for Sales person B and C but the formula in the report tab is giving output only from the Jan tab.
 
Upvote 0
I don't understand why you dont answer the questions:
Working on the sheet that you published, on sheet Report, on line 7 (Sales Person B) and 8-9 (Sales Person C) which information would you like to receive?
-value for the information
-in which cell(s)
-why that value
And, believe me, I am only trying to understand your problem.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top