Technology Get the latest on technology, electronics and software…

Any Microsoft Excel Experts?

Thread Tools
 
Old 02-02-2012, 08:38 PM
  #1  
Your mom is in
Thread Starter
iTrader: (2)
 
thevikas87's Avatar
 
Join Date: Jun 2007
Location: Dallas, TX
Age: 36
Posts: 1,762
Received 3 Likes on 3 Posts
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; 02-02-2012 at 08:46 PM.
Old 02-02-2012, 08:49 PM
  #2  
AZ Community Team
 
Bearcat94's Avatar
 
Join Date: May 2007
Location: N35°03'16.75", W 080°51'0.9"
Posts: 32,488
Received 7,770 Likes on 4,341 Posts
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.
Old 02-02-2012, 08:56 PM
  #3  
takin care of Business in
iTrader: (5)
 
swoosh's Avatar
 
Join Date: Jan 2008
Location: Kansas City, MO
Age: 40
Posts: 30,994
Received 4,732 Likes on 4,064 Posts
OP you need MSACCESS....
Old 02-02-2012, 09:01 PM
  #4  
Drifting
 
65 Fury Convert's Avatar
 
Join Date: Feb 2002
Posts: 2,637
Received 21 Likes on 19 Posts
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
Old 02-02-2012, 09:02 PM
  #5  
I've got spurs...
 
Lightus's Avatar
 
Join Date: Jan 2007
Location: Gainesville, FL
Age: 33
Posts: 1,499
Received 6 Likes on 6 Posts
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.
Old 02-02-2012, 09:08 PM
  #6  
Sanest Florida Man
 
#1 STUNNA's Avatar
 
Join Date: Aug 2007
Location: Florida
Posts: 43,703
Received 10,245 Likes on 6,211 Posts
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.
Old 02-02-2012, 09:45 PM
  #7  
Suzuka Master
 
Q1911's Avatar
 
Join Date: Sep 2007
Posts: 5,993
Received 8 Likes on 6 Posts
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
Old 02-02-2012, 10:04 PM
  #8  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
will have something shortly
Old 02-02-2012, 10:40 PM
  #9  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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.
Old 02-02-2012, 10:47 PM
  #10  
I got the Shifts
iTrader: (5)
 
phee's Avatar
 
Join Date: Oct 2007
Age: 35
Posts: 14,203
Received 230 Likes on 163 Posts
hornylep. are you in the finance business?
Old 02-02-2012, 10:49 PM
  #11  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
Accounting
Old 02-03-2012, 06:59 AM
  #12  
Go Giants
 
Whiskers's Avatar
 
Join Date: Aug 2004
Location: PA
Age: 53
Posts: 69,911
Received 1,232 Likes on 822 Posts
4?
Old 02-03-2012, 08:03 AM
  #13  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
Meant to add that when you click the link make sure to download the file. It won't work in Google Docs
Old 02-03-2012, 08:09 AM
  #14  
Chapter Leader
(Northeast Florida)
iTrader: (1)
 
gatrhumpy's Avatar
 
Join Date: Jun 2004
Age: 44
Posts: 35,532
Received 1,652 Likes on 1,117 Posts
Old 02-03-2012, 10:42 AM
  #15  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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
Old 02-03-2012, 01:35 PM
  #16  
Your mom is in
Thread Starter
iTrader: (2)
 
thevikas87's Avatar
 
Join Date: Jun 2007
Location: Dallas, TX
Age: 36
Posts: 1,762
Received 3 Likes on 3 Posts
Thanks for the info, I'll try this and report back!
Old 02-04-2012, 03:29 PM
  #17  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,841 Likes on 8,573 Posts
Originally Posted by swoosh
OP you need MSACCESS....
Old 06-11-2013, 04:20 PM
  #18  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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?
Old 06-11-2013, 04:37 PM
  #19  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,841 Likes on 8,573 Posts
By eggs.. you mean gasoline, and by toast.. you mean matches.
Old 06-11-2013, 04:52 PM
  #20  
takin care of Business in
iTrader: (5)
 
swoosh's Avatar
 
Join Date: Jan 2008
Location: Kansas City, MO
Age: 40
Posts: 30,994
Received 4,732 Likes on 4,064 Posts
Old 06-11-2013, 05:20 PM
  #21  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts


for real though, I know some of you are wicked excel wizards.
Old 06-11-2013, 07:16 PM
  #22  
Safety Car
 
Anachostic's Avatar
 
Join Date: Jul 2007
Posts: 4,845
Received 145 Likes on 90 Posts
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.
The following users liked this post:
stogie1020 (06-11-2013)
Old 06-11-2013, 07:22 PM
  #23  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
Thanks bud. Will look into it.
Old 06-11-2013, 10:32 PM
  #24  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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.
Old 06-11-2013, 10:35 PM
  #25  
Unofficial Goat
iTrader: (1)
 
The Dougler's Avatar
 
Join Date: Jul 2006
Location: Toronto
Age: 39
Posts: 15,744
Received 112 Likes on 89 Posts
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.
Old 06-11-2013, 10:40 PM
  #26  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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.
Old 06-12-2013, 10:57 AM
  #27  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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.
Old 06-12-2013, 11:08 AM
  #28  
takin care of Business in
iTrader: (5)
 
swoosh's Avatar
 
Join Date: Jan 2008
Location: Kansas City, MO
Age: 40
Posts: 30,994
Received 4,732 Likes on 4,064 Posts
Create a column to pull the data (from the validation sheet), hide it and use concat in the adjacent cell...
Old 06-12-2013, 11:09 AM
  #29  
Race Director
 
nfnsquared's Avatar
 
Join Date: Dec 2003
Location: MAGA country
Posts: 12,474
Received 1,794 Likes on 1,347 Posts
No bacon?? Phail...
Old 06-12-2013, 06:11 PM
  #30  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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?

Old 06-12-2013, 07:33 PM
  #31  
Racer
 
RenoTL's Avatar
 
Join Date: Mar 2013
Location: Reno, NV
Age: 73
Posts: 390
Received 67 Likes on 53 Posts
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.
The following users liked this post:
stogie1020 (06-12-2013)
Old 06-12-2013, 07:47 PM
  #32  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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.
Old 06-12-2013, 09:04 PM
  #33  
Chapter Leader (Southern Region)
 
Majofo's Avatar
 
Join Date: Sep 2008
Location: Waffles, BU
Posts: 88,888
Received 11,841 Likes on 8,573 Posts
Old 06-13-2013, 04:10 PM
  #34  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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&"@"),"")
Old 06-13-2013, 04:43 PM
  #35  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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.
Old 06-13-2013, 04:56 PM
  #36  
Race Director
 
nfnsquared's Avatar
 
Join Date: Dec 2003
Location: MAGA country
Posts: 12,474
Received 1,794 Likes on 1,347 Posts
Free Excel 2010 course, coupon good today only
Old 06-13-2013, 05:29 PM
  #37  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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)?
Old 06-13-2013, 09:55 PM
  #38  
Bent = #1
 
hornyleprechaun's Avatar
 
Join Date: Dec 2001
Location: Marietta, GA
Age: 40
Posts: 13,473
Received 25 Likes on 19 Posts
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.
Old 06-14-2013, 02:48 AM
  #39  
Go Giants
 
Whiskers's Avatar
 
Join Date: Aug 2004
Location: PA
Age: 53
Posts: 69,911
Received 1,232 Likes on 822 Posts
Bacon
Old 05-27-2015, 01:09 PM
  #40  
Needs more Lemon Pledge
 
stogie1020's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Age: 51
Posts: 52,768
Received 2,000 Likes on 1,173 Posts
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.


Quick Reply: Any Microsoft Excel Experts?



All times are GMT -5. The time now is 03:22 PM.