Technology Get the latest on technology, electronics and software…

Any Microsoft Excel Experts?

Thread Tools
 
Old Feb 2, 2012 | 08:38 PM
  #1  
thevikas87's Avatar
Thread Starter
Your mom is in
15 Year Member
iTrader: (2)
 
Joined: Jun 2007
Posts: 1,762
Likes: 3
From: Dallas, TX
Any Microsoft Excel Experts?

Quick question for you guys.

My manager wants me to setup a spreadsheet we have so that when its opened, we have to sign in with a user name and password, and to where it records who signed in at what time.

Just to keep a record of the fact the spreadsheet is being checked and how many times they checked it etc...

Anyone know how to do this?

Thanks in advance!

Last edited by thevikas87; Feb 2, 2012 at 08:46 PM.
Reply
Old Feb 2, 2012 | 08:49 PM
  #2  
Bearcat94's Avatar
AZ Community Team
 
Joined: May 2007
Posts: 32,488
Likes: 7,771
From: N35°03'16.75", W 080°51'0.9"
You can protect the sheet/workbook with a password, but I don't know how to get it to log a user and record who used the sheet and when.
Reply
Old Feb 2, 2012 | 08:56 PM
  #3  
swoosh's Avatar
takin care of Business in
iTrader: (5)
 
Joined: Jan 2008
Posts: 30,994
Likes: 4,733
From: Kansas City, MO
OP you need MSACCESS....
Reply
Old Feb 2, 2012 | 09:01 PM
  #4  
65 Fury Convert's Avatar
Drifting
 
Joined: Feb 2002
Posts: 2,637
Likes: 21
I can't help but to tell you some years ago the place I worked at had an Excel worksheet that the entire department used. It was saved on the network and we could see who was in it and who saved it last. I'm just telling you this to say I think it can be done
Reply
Old Feb 2, 2012 | 09:02 PM
  #5  
Lightus's Avatar
I've got spurs...
 
Joined: Jan 2007
Posts: 1,499
Likes: 6
From: Gainesville, FL
Easy, create three more columns. One column should be titled "username", another "password", and the last "time". Then just have everyone type their username and time when they check the page. Make sure to tell everyone to type their passwords as asterisks so that others won't steal it.
Reply
Old Feb 2, 2012 | 09:08 PM
  #6  
#1 STUNNA's Avatar
Sanest Florida Man
Photogenic
Photoriffic
Shutterbug
 
Joined: Aug 2007
Posts: 45,850
Likes: 11,669
From: Florida
Originally Posted by Lightus
Easy, create three more columns. One column should be titled "username", another "password", and the last "time". Then just have everyone type their username and time when they check the page. Make sure to tell everyone to type their passwords as asterisks so that others won't steal it.
Reply
Old Feb 2, 2012 | 09:45 PM
  #7  
Q1911's Avatar
Suzuka Master
 
Joined: Sep 2007
Posts: 5,993
Likes: 8
I don't know about having it record sign ins, but you can probably modify this to work.

www.ozgrid.com/forum/showthread.php?t=32869
Reply
Old Feb 2, 2012 | 10:04 PM
  #8  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
will have something shortly
Reply
Old Feb 2, 2012 | 10:40 PM
  #9  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
https://docs.google.com/open?id=0B2j...QwODFmYTE0YWQ1

Password is "whatever" and you can change that if you go to the Visual Basic section by pressing Alt + F11. The user tab will be protected after each entry is made after each log on.
Reply
Old Feb 2, 2012 | 10:47 PM
  #10  
phee's Avatar
I got the Shifts
iTrader: (5)
 
Joined: Oct 2007
Posts: 14,203
Likes: 231
hornylep. are you in the finance business?
Reply
Old Feb 2, 2012 | 10:49 PM
  #11  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Accounting
Reply
Old Feb 3, 2012 | 06:59 AM
  #12  
Whiskers's Avatar
Go Giants
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Aug 2004
Posts: 70,003
Likes: 1,260
From: PA
4?
Reply
Old Feb 3, 2012 | 08:03 AM
  #13  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Meant to add that when you click the link make sure to download the file. It won't work in Google Docs
Reply
Old Feb 3, 2012 | 08:09 AM
  #14  
gatrhumpy's Avatar
Chapter Leader
(Northeast Florida)
20 Year Member
Liked
Loved
Community Favorite
iTrader: (1)
 
Joined: Jun 2004
Posts: 35,532
Likes: 1,654
Reply
Old Feb 3, 2012 | 10:42 AM
  #15  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
OP you should also considering hiding that Users tab. I would add the following code.

Right before the End Sub in VB add the following

Code:
ws.Visible = xlSheetVeryHidden
This will hide the sheet so that normal users can't unhide it to view it. It can only be made visible with the following code.

Code:
ws.Visible = True
If you just want to hide it and still be able to unhide it by right clicking on a worksheet and going to Unhide then add the following code before the End Sub in VB.

Code:
ws.Visible = False
Reply
Old Feb 3, 2012 | 01:35 PM
  #16  
thevikas87's Avatar
Thread Starter
Your mom is in
15 Year Member
iTrader: (2)
 
Joined: Jun 2007
Posts: 1,762
Likes: 3
From: Dallas, TX
Thanks for the info, I'll try this and report back!
Reply
Old Feb 4, 2012 | 03:29 PM
  #17  
Majofo's Avatar
Chapter Leader (Southern Region)
 
Joined: Sep 2008
Posts: 88,888
Likes: 11,846
From: Waffles, BU
Originally Posted by swoosh
OP you need MSACCESS....
Reply
Old Jun 11, 2013 | 04:20 PM
  #18  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
another "need excel assistance" request...

OK, I have a spreadsheet I use to keep track of billings for thing.
Columns are as follows:
Date, QTY, Description

The description cell is a drop down list (Data Validation from static list on sheet2) that contains the rate for the particular description choice. Choice 1 might be "eggs @$2/egg" and choice 2 might be "toast @$1/slice".

What I would LIKE to be able to do is have the choice in the drop down list actually poll the QTY column for that row and then insert that value into the description such as "eggs 4@$2" if the qty value was 4. FYI there are multiple (20+) choices in the drop down list.

How do I make this happen?
Reply
Old Jun 11, 2013 | 04:37 PM
  #19  
Majofo's Avatar
Chapter Leader (Southern Region)
 
Joined: Sep 2008
Posts: 88,888
Likes: 11,846
From: Waffles, BU
By eggs.. you mean gasoline, and by toast.. you mean matches.
Reply
Old Jun 11, 2013 | 04:52 PM
  #20  
swoosh's Avatar
takin care of Business in
iTrader: (5)
 
Joined: Jan 2008
Posts: 30,994
Likes: 4,733
From: Kansas City, MO
Reply
Old Jun 11, 2013 | 05:20 PM
  #21  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ


for real though, I know some of you are wicked excel wizards.
Reply
Old Jun 11, 2013 | 07:16 PM
  #22  
Anachostic's Avatar
Safety Car
 
Joined: Jul 2007
Posts: 4,845
Likes: 145
Originally Posted by stogie1020
another "need excel assistance" request...

OK, I have a spreadsheet I use to keep track of billings for thing.
Columns are as follows:
Date, QTY, Description

The description cell is a drop down list (Data Validation from static list on sheet2) that contains the rate for the particular description choice. Choice 1 might be "eggs @$2/egg" and choice 2 might be "toast @$1/slice".

What I would LIKE to be able to do is have the choice in the drop down list actually poll the QTY column for that row and then insert that value into the description such as "eggs 4@$2" if the qty value was 4. FYI there are multiple (20+) choices in the drop down list.

How do I make this happen?
I think the function you are looking for is VLOOKUP. That's all I have to offer. I'm sure someone will give you a full solution, but this info might be enough to get your own answer first and piss them off.
Reply
Old Jun 11, 2013 | 07:22 PM
  #23  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Thanks bud. Will look into it.
Reply
Old Jun 11, 2013 | 10:32 PM
  #24  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Vlookup won't work for that. You need to create a macro. I'm really busy this week but will try to remember to get back to this thread.
Reply
Old Jun 11, 2013 | 10:35 PM
  #25  
The Dougler's Avatar
Unofficial Goat
iTrader: (1)
 
Joined: Jul 2006
Posts: 15,744
Likes: 112
From: Toronto
Originally Posted by stogie1020
Thanks bud. Will look into it.
Since this is for billings why not add another column "extended cost" and multiple your qty by rate in the description so the true cost for that service is clear.
Reply
Old Jun 11, 2013 | 10:40 PM
  #26  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Temp solution....

Cell D2 formula =left(C2,find("@",C2,1)-1)&B2&mid(C2,Find("@",C2,1),99)

That will combine QTY and description for you.
Reply
Old Jun 12, 2013 | 10:57 AM
  #27  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Horny, thanks for the work.

The issue I have is that the cell I need to put the QTY data in is variable, meaning it's content is a drop down listing that has 20 options to choose from that are all different services (data validation list).

As an example:
(Current)
Date QTY Description
6/12/13 3 Pieces of toast @$1/slice
6/12/13 5 Eggs @$2/egg

(Desired)
Date QTY Description
6/12/13 3 Pieces of toast 3@$1/slice
6/12/13 5 Eggs 5@$2/egg

But the description cells are a dropdown data validation list on a different sheet.

I basically need to be able to pull the digit from two cells to the left of the current cell and insert the digit in a specific spot in the cell text. I can't assign a specific cell to pull from since the dropdown list is available in each cell in the column.

Dougler, why not let excel do the math and create a column for total cost? Makes sense. Truth is, this is simply a guide for a bookkeeper to use in entering data into quickbooks, and she knows anything in parenthesis in the Description cell is for her info only and not for the actual invoices. I am trying not to rock that boat too much.
Reply
Old Jun 12, 2013 | 11:08 AM
  #28  
swoosh's Avatar
takin care of Business in
iTrader: (5)
 
Joined: Jan 2008
Posts: 30,994
Likes: 4,733
From: Kansas City, MO
Create a column to pull the data (from the validation sheet), hide it and use concat in the adjacent cell...
Reply
Old Jun 12, 2013 | 11:09 AM
  #29  
nfnsquared's Avatar
Race Director
 
Joined: Dec 2003
Posts: 12,521
Likes: 1,824
From: MAGA country
No bacon?? Phail...
Reply
Old Jun 12, 2013 | 06:11 PM
  #30  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
If it helps to see it:

I have a sheet with three columns, the third being a "description" column.

Each cell in the description column is a drop down selection from a data validation list on sheet 2.

I am trying to find a way to, upon choosing a selection from the drop down list, have excel automatically pull the number from the QTY cell to the left (i.e. B2) and put it into the description cell (i.e. C2).

Goal is to have C2 show Hash Browns 5@$2/serving

Is this possible if C2 (all of C column cells) is a data validation list from elsewhere?

Is there a way to insert into the data validation list entries some code to pull the number from a different cell in the B column for the row that the description is chosen for?

Reply
Old Jun 12, 2013 | 07:33 PM
  #31  
RenoTL's Avatar
Racer
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Mar 2013
Posts: 393
Likes: 68
From: Reno, NV
This seems a bit more complicated than it needs to be but I understand you are working within a given system. You indicated the the contents of the DESCRIPTION drop-down list comes from another sheet. On that sheet, can you create a new column that takes the last entry in the QUANTITY column and converts that entry to text followed by creating a string from the each row within the DESCRIPTION list and adds in the quantity (text) string right before the "@" symbol. For example, if the current column in the DESCRIPTION cell contains, "Hash Browns @$2/serving", the next column would then become, "Hash Browns 5@$2/serving". You can use the text manipulation functions to achieve this. Of course you would then use this new column in the 2nd sheet to populate your drop-down list on the 1st sheet.
Reply
Old Jun 12, 2013 | 07:47 PM
  #32  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Thanks Reno, problem is, ANY of the 20 selections for the drop down are available in EACh cell in the c column, so I need to find a way to add in relative data, i.e. data from the cell "1 to the left" of the current, no matter where the current one is.
Reply
Old Jun 12, 2013 | 09:04 PM
  #33  
Majofo's Avatar
Chapter Leader (Southern Region)
 
Joined: Sep 2008
Posts: 88,888
Likes: 11,846
From: Waffles, BU
Reply
Old Jun 13, 2013 | 04:10 PM
  #34  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Well, it looks like the Substitute function was what I was looking for. Unfortunately it leaves the cell as a formula value and therefore wont work since the cell needs to be copied from and pasted elsewhere... Too much of a PITA to manually convert it to static text each time.

The formula as was provided ona different forum is
=IF(C2<>"",SUBSTITUTE(C2,"@",B2&"@"),"")
Reply
Old Jun 13, 2013 | 04:43 PM
  #35  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
You need a macro....

Would you have a problem clicking a button before each selection or would you rather click a button after all selections to update column c.
Reply
Old Jun 13, 2013 | 04:56 PM
  #36  
nfnsquared's Avatar
Race Director
 
Joined: Dec 2003
Posts: 12,521
Likes: 1,824
From: MAGA country
Free Excel 2010 course, coupon good today only
Reply
Old Jun 13, 2013 | 05:29 PM
  #37  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Originally Posted by hornyleprechaun
You need a macro....

Would you have a problem clicking a button before each selection or would you rather click a button after all selections to update column c.
To update the content from formula to value? After and only once would be good. What would happen if I executed the macro on column C with c1-c5 filled and then later needed to use c6 for the original purpose (drop dpwn selection, formula)?
Reply
Old Jun 13, 2013 | 09:55 PM
  #38  
hornyleprechaun's Avatar
Bent = #1
 
Joined: Dec 2001
Posts: 13,473
Likes: 25
From: Marietta, GA
Originally Posted by stogie1020
To update the content from formula to value? After and only once would be good. What would happen if I executed the macro on column C with c1-c5 filled and then later needed to use c6 for the original purpose (drop dpwn selection, formula)?
PM me the file or your email. I'll get it to work with a macro.
Reply
Old Jun 14, 2013 | 02:48 AM
  #39  
Whiskers's Avatar
Go Giants
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Aug 2004
Posts: 70,003
Likes: 1,260
From: PA
Bacon
Reply
Old May 27, 2015 | 01:09 PM
  #40  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Excel question:

I have a sheet (sheet1) with a single column containing 3500 text entries each in their own cell.

I have a list of 35 cell numbers (randomly selected) that I would like to extract from the 3500 list.

What I want to do is on sheet2, have a list of the 35 selected cell numbers in column A and then in column B a formula to pull the text content from the sheet2 column A cell # on sheet1.

I tried using =Sheet1!(Sheet2!A1) where A1 is the first item in sheet 2 list of 35 but it just sequentially references when I copy down to the remaining 34 items instead of pulling the actual value form the Sheet2CellA2, etc.

Summary:

Sheet 1 has 3500 items in a single column
Sheet 2 has 35 random numbers between 1 and 3500.

I want to populate sheet 2 with the cell value from sheet 1 that corresponds to the row number listed in sheet 2.
Reply



All times are GMT -5. The time now is 04:12 AM.