Only make a row visible to a certified person - excel

I am making a worksheet where people can add issues. I want to add user access to certain groups in this file. I've added a column where the creator of the issue has to be filled in. Checking this column, excel should determine who can see the specific row. For example:
Group 1 can see everything
Group 2 can see everything , but not the issue added by group 1
Group 3 can see everything , but not the issue added by groups 2 and 1
I was first thinking of adding different passwords to the file. According to the password, excel knows in which group the user belongs. (For example password "1" is for people from group 1, password "2" is for people from group 2 , ... ) But since I'm fairly new to using MS office / vba I have no idea if this is even possible.
Is this possible to add these passwords or is it possible to make a row invisible to users depending on the input of 1 cell ?

What you're asking for is possible, but not simple. It will require a combination of worksheet protections and your own subroutines that will hide and unhide rows accordingly. You will need to use worksheet protection to prevent users from manually unhiding rows. Then, add a userform that prompts the user for a password. Based on the password provided, you can unhide specific rows (I would recommend using an xlVeryHidden sheet that holds a list of which rows are unlocked by which passwords). Your userform should not unprotect the sheet, but should still be able to edit the hidden property itself (so I would recommend using UI protection only)

Related

Excel HYPERLINK with INDEX MATCH reference isn’t valid

I have set up a set of forms on excel that can append or update information to an access database.
Due to their being multiple forms, I want to create a spreadsheet, which acts as a hyperlink centre to the form the user needs.
Their are only to ‘branches’ of forms the users can use:
Add new data forms
And
Update Existing data forms
Each of these branches has say, 5 forms (so 10 in total)
The spreadsheet I’ve set up has two tabs
Tab 1 - user end sheet (‘user’)
Tab 2 - list and hyperlinks (‘info’)
On the user end sheet there is a list to select which branch of forms the user wants the link to (Cell D11)
Add
Or
Update
From there a secondary dependant drop down list shows the forms available from that branch (Cell D16)
Finally, there is a cell which I’d like to display the hyperlink to the form they have selected.
I’ve searched around a lot, however I can’t find the fix.
The formula in full is:
=IF(user!D16=“”,””,IF(user!D11=“Add”,HYPERLINK(“#”&INDEX(info!$D$9:$E$13,MATCH(user!D16,info!$D$9:$E$13,0)),(VLOOKUP(D16,info!$D$9:$E$13,2,0))),HYPERLINK(“#”&INDEX(info!$G$9:$H$13,MATCH(user!D16,info!$G$9:$H$13,0)),(VLOOKUP(user!D16,info!$G$9:$H$13,2,0)))))
The hyperlink formulas:
HYPERLINK(“#”&INDEX(info!$D$9:$E$13,MATCH(user!$D$16,info!$D$9:$E$13,0))
And
HYPERLINK(“#”&INDEX(info!$G$9:$H$13,MATCH(user!$D$16,info!$G$9:$H$13,0))
The result simply returns #N/A
I’ve tried:
INDEX
“#&INDEX(…)”
“#”&”INDEX(…)”
And knocking all of the if statements out, leaving only the hyperlink function there.
The hyperlinks work fine in the info tab.
Any help would be massively appreciated, thanks in advance.
Solved.
Issue was that the hyperlinks id set up already had a ‘friendly name’, changed to raw link and then was able to replace index match simply with Vlookups.

Open Specific Worksheet for user

I have a file with all Team Members with their Individual Data. I have kept the same in One Drive, but unable to control others to see the numbers.
Is it possible for me to assign user-specific access to a worksheet in excel with Employee ID as a Password to open and have an Admin Access to do anything?
Put a different password on each sheet - only the person for that sheet and you know the password, then each can only access "their" sheet.
I suggest you don't use the employee ID as people can find out each others - why does IT spend so much time chasing us to use sensible passwords?
Also consider the use of vba - on opening it asks for the password and then opens the "correct" sheet - not tried this but interesting. Check out the difference between "hidden" and "Very Hidden" which is available as well.
There are posts on here about using passwords on sheets and hidden / very hidden.

How to Highlight Specific Cells that Meet Criteria or Filter it for Specific List

So I have an excel sheet, and need to clean up the users within our database...I don't like using Excel, and was curios if there is anyway I can print a False or True column to see if an entry within a specific cell matches the other two columns plus a convention. The caveat is that all of the Username Logins need to match firstname.lastname, but not all of our users have that within the list of elements. As a result, I need to filter out the ones that do have it so I can see all of the users that do not have it.
As you can see there may be users within the User Name column that may not match the convention as a result I would like to have it print FALSE in Column I. This would allow me to have a filter and see all of the users that are misaligned within the database.
By the way I am forbidden to use any programmatic way or SQL update command on the database, so please limit suggestions on how to accomplish this in Excel.
Many Thanks to #Naresh Bhople
His formula
=A2=E2&"."&D2
Worked, then I just dragged and copied it all the way down to what I needed.
It helped me clean up our Active Directory to get all of the systems working with AD Authentication and Kerberos Auth.

How can we give access to certain user in Excel sheet using sharepoint list

I have an Excel list consist of 10 rows
In that, one user can only access 5 rows, another user can access another 5 rows and another user can access a total of 10 rows.
So how can we do it?
This can be achieved through VBA Macro however if you dont prefer VBA, the simplest way to give different level of access is to define "Allow Users to Edit Ranges" and protect the Sheet
You can access this settings through the ribbon Review -> Allow User to Edit Ranges
Click New
Give some Title to the Range, Select the appropriate Range, provide Range Password and click OK.
Share the password with the user who can edit the range
If you require more ranges, repeat the same steps (1-3)
Thanks,

Protect Excel Worksheet for format and size and allow only for entry

I am creating an XLS worksheet that would be used to collect data from the users. I have restricted the user input using validations. In order to easily be able to print the worksheet i have set the lenghts of the columns. Have made the relevant columns wrap.
However i would like to protect the worksheet such that
User is not allowed to
1. Change the format
2. Change the Validations
3. Change the column size
User should be allowed to
1. Enter input values
2. Select the value (from drop down whereever applicable)
The protect sheet always restricts user inputs.
The key is after you protect the sheet to use the interface exposed in "Allow Users To Edit Ranges". I'm going to assume you are using Office 2003 since you didn't specify, so you find it in Tools -> Protection -> Allow Users to Edit Ranges.From there it should be pretty obvious - you create named ranges and give edit access to users based on that.On the second issue of having users pick values from combo-boxes, you control that through Data -> Validation then create a Custom list.
Normally when you protect a sheet you get a dialog box which allows you to select what users can and can't do. If you select the right options you will be able to do what you want.
Have a look at this blog post for more details.

Resources