times

  1. countryfan_nt

    Run code if Username match And current time is between 2 sets of time.

    Hello friends, hope all is well! Can you please help me with the code below: I want the code to close the workbook if: 1. UserName is NOT Johnny Case AND 2. Between times 17:45 and 17:59 OR 3. Between times 07:45 and 07:59 The code is placed below; thank you very much in advance...
  2. K

    VBA New Constraint - Not sure how to start

    I am looking to add a new constraint to my query. I am not sure how to start setting this up. I want to add a constraint to set a maximum number of times a value can be used in my solutions. My loop will run for 1 to a maximum of 150 times. This will be set prior to running the solution...
  3. A

    Time Difference Not Being Calculated Properly

    I amtrying to get the value of the difference between two times with the code below. tdiff = ((CDate(Me.uf9a_tb_cend.Value)) - (CDate(Me.uf9a_tb_cstart.Value))) - 0.5 .Cells(drow, 5) = Format(tdiff * 24, "0.0") Me.uf9a_tb_cend.Value = "3:00 pm"...
  4. K

    VBA Questions - New to Macros

    Sorry for the long post, any help is appreciated. I am working on the Macro below. I am hoping someone can provide a little guidance on a few questions. 1. Should the Marco be in Module1, The spreadsheet I am running it against or in ThisWorkbook? 2. I can run the solver without an issue...
  5. B

    count the number of times a date is shown.

    i have a list of files with dates associated. i'd like to simply count the number of times each date is being shown. for example, 1/2/18 is shown below 10 times. I have this for an entire calendar year. <colgroup><col></colgroup><tbody> 1/2/18 1/2/18 1/2/18 1/2/18 1/2/18 1/2/18...
  6. C

    Running Total Distinct Count

    I have a table I am working with that has project names that are listed multiple times (along with a bunch of other data that should not be relevant here). This is in Power Query What I want to do is a running total of how many times the project name appears then start the count over when a new...
  7. L

    Excel creating random named ranges in error

    Hi We've had a weird problem where excel seems to create hundreds of random named ranges in files which have NO named ranges. It's only happened three times and all of those times it happened on files which were linked to other files but it also doesn't always happen so I am not sure what's...
  8. P

    How to count the number of times a command button has been clicked

    This post is somewhat similar to a previous post which I have not gotten a response yet. Since then I have figured out answers to my questions with the exception of this one. If I am wrong for doing this please let me know. Thank You Brief explanation:That being said, I have a workbook that when...
  9. M

    Counting Dynamic Time Intervals that Overlap with a Constant Time Interval?

    Consider time interval: 08:00AM to 09:30AM which is to the constant time interval against which a dynamic list of other time intervals such as: 06:00AM to 07:30AM, 7:30AM to 09:00AM, 09:00AM to 10:30AM, 10:30AM to 12:00PM, and 07:30AM to 10:30AM; are to be checked against to see if any of the...
  10. R

    Macro To Save Copy Each Time WOrkbook Is Opened.

    I have a workbook that will automatically open, save and close 2 times a day to keep it updated. Its also looked at by several people so I was wondering if a Macro could make a copy each time it opens and closes? I would like the entire workbook to save to the same directory but a different...
  11. S

    Both times with AM need to subtract 1 from the other

    Good evening, I have spreadsheets that I receive from clients which have times in different cells. I have a 8:50 in cell A1 and 3:10 in cell B1 when I looked closer the cell values both have AM in them. I looked at the next one and it also has 7:15 and 4:10 and they are also AM. The times will...
  12. K

    COUNTIF ignoring certain text

    Hello, I have the following COUNTIF that works well, but recently realized it's not useful given there are duplicates, thus throwing off my numbers. =COUNTIF($A$1:$X$145, "*"&A213&"*") I have a table of text spanning from A1 through X145 of server names. Given the server, the exact name could...
  13. K

    Formula to find % for times a date is under 6 months ago

    Hi all, I am trying to evaluate if a column on another sheet in the workbook’s date is less than 6 months ago and count them all up when the value (in this case it’s a person’s name) in one of the columns = the value I am looking for. I then what to split out the percentage of how often it was...
  14. S

    Formula will type, but appears as a picture

    Hey Everyone! We are working in Excel 2016. When we typed a VLOOKUP into a cell, it turned into a truncated picture. We could type behind it, and type a new formula below it, and could not move the "picture". This file has been used many times and was a one time occurrence. Has this happened...
  15. J

    Number of times Greater than or equal to 100 but less than 150

    Hi All, I am trying to put in a formula as above. Numbers between 80 and 170 are in Cells A2:A147. I want to look at Cells A2:A147 and count the number of times a figure of between 100 and 149 occurs. Thanks for any help
  16. S

    Please Help me with VBA on this large file

    Hi All I have 2 sheets with almost 300k rows of data.. The columns are from A to Q the dates, agent name and start times and times are sorted to sort each agent schedule that day I need to have a macro that loops through every day and checks to see if an agent had any activity that say...
  17. S

    Count the number of times a name appears

    Hi All we are wanting to calculate the lifetime value of a customer. I have history table of 3 columns (10k of entries) with the customer name appearing every time they have ordered over the past two years. Is there a way I can count the number of times a name appears in a list. Ideally...
  18. R

    VBA for Conditional Formatting (Borders) and Center Across Selection

    Hello All, I appologize in advance that I am COMPLETELY NEW to VBA - with no real knowledge. I just finished creating a spreadsheet (sheet name is "Production Sheet") that i am in the process of creating a userform for. I had everything formatted as I liked, but came across an issue when the...
  19. O

    Creating formula to create a check digit.. Help

    Need a hand please. I'm not great with formulas in Excel.. Searched the forum with no luck with the help I need. Below describes what I need to create a check digit. Looking for a formula to do this in Excel. Thanks for looking and help. The calculation is as follows...
  20. F

    Macro to Look for Differences in Time

    Hello, I'm building a macro that identifies time errors to be fixed off a report that includes employee clock in/clock out times. The only values that matter are the actual clock out times vs. system clock out times. Specifically, if an employee physically clocked out at one time, but the...

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