• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

Help with excel commands!

Hello everyone,

I have pulled quit a bit of Exchange Mailbox related reports and I'm hoping to use Excel to figure out the number of User Mailboxes vs. Shared Mailbox vs. Resources...etc

Account Type column will not quite give me the true numbers I'm looking for as many folks create Shared Mailboxes and Employee Mailboxes as the same Type. (User)
I did pull the OU where each item is stored within AD and we have those items within AD broke into their OU.  So Users are in 1 OU while Shared Mailboxe are in another...etc.

So I want to have a formula created that would key on the OU
domain/OU/Site Code/Users
domain/OU/Site Code/General/Shared
domain/OU/Site Code/General/Resource

I have over 30,000 items to check which why I'm hoping that someone can help.

I have 6 tabs in total.  I would like to have anything "/Users" be considered a User Mailbox.  "/General/Shared" = Shared
"/General/Resources" = Resources

So for each Exchange Cluster I would like to be able to provide a breakdown for how many different types of mailboxes are on each.

Thanks
0
Admin_Stooge
Asked:
Admin_Stooge
  • 2
1 Solution
 
Admin_StoogeAuthor Commented:
I have this so far
=IF(I2="/Users", J2, 1)
=IF(I2="/General/Shared", K2, 1)
=IF(I2="/General/Resources", L2, 1)

All the cells are returning a value of 1.  Only one of the 3 cells should have a value of 1 while the other 2 cells should be 0

0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

I'm afraid it is not clear what your input data looks like and what you want as the output.

Can you post an Excel sheet with a few rows of data and manually put in the desired results?

cheers, teylyn
0
 
geoffkkCommented:
It is not clear what is in the cells. If you have a string in cell A2, for example containing the full detail like
domain/OU/Site Code/General/Shared
then in B2 put a formula like
=if(isnumber(find("/User",A2)),1,0)
and in C2 put
=if(isnumber(find("/General/Shared",A2)),1,0)
and in D2
=if(isnumber(find("/General/Resource",A2)),1,0)
Then the sum of the columns B, C, D will give the totals of each type

Geoff
0
 
Admin_StoogeAuthor Commented:
Perfect...thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now