## Creating Schedule Table From Pivot Table Data |

## Creating Schedule Table From Pivot Table Data - Excel |
View Answers |

Hi all, I've got a bunch of data I'm trying to sort into a table based on certain criteria. It sounds like a common problem, but either I can't figure out the best way to describe and search for answers, or it's somewhat unique.

My data is in five columns. I have set the data as a dynamic range because the data source is external and I expect it to change regularly. The data corresponds to appointments/visits at a tutoring center. Starting in A4 is the date, B4 is the log in time (start of appointment), C4 is the log out time (end of appointment, D4 is the location of the appointment, and E4 is the reason or subject of the appointment.

What I am trying to do is chart the busiest times by location per half hour. We open as early as 6am and go until as late as 9pm. I was planning to use the =GETPIVOTDATA function to fill out most of my chart, but I'm having trouble determining when a student is present in the tutoring location. I can set it up to report the start or end time pretty easily, but I was hoping to get a count per half hour someone is in the center. So if someone logs in at 1pm and out at 3:30, they would be counted for each half hour interval until logging out.

I will attempt to upload my workbook since I'm having difficulty with that at the moment.

My data is in five columns. I have set the data as a dynamic range because the data source is external and I expect it to change regularly. The data corresponds to appointments/visits at a tutoring center. Starting in A4 is the date, B4 is the log in time (start of appointment), C4 is the log out time (end of appointment, D4 is the location of the appointment, and E4 is the reason or subject of the appointment.

What I am trying to do is chart the busiest times by location per half hour. We open as early as 6am and go until as late as 9pm. I was planning to use the =GETPIVOTDATA function to fill out most of my chart, but I'm having trouble determining when a student is present in the tutoring location. I can set it up to report the start or end time pretty easily, but I was hoping to get a count per half hour someone is in the center. So if someone logs in at 1pm and out at 3:30, they would be counted for each half hour interval until logging out.

I will attempt to upload my workbook since I'm having difficulty with that at the moment.

## Free Excel Courses

**Getting Started in Excel (Course)**

**Introduction to Programming Macros in Excel (Course)**

**Reference Other Excel Files with Formulas and Functions**

## Similar Excel Tutorials

Get a Table Look with Only the Formatting in Excel

How to get the nice formatting of a table without turning your data into an actual table. Formatting data as a tab ...

How to get the nice formatting of a table without turning your data into an actual table. Formatting data as a tab ...

Remove Table Format in Excel

Convert a table back into a regular set of cells. This removes any automated table features and I'll show you how ...

Convert a table back into a regular set of cells. This removes any automated table features and I'll show you how ...

Using Formulas with Tables in Excel

Easy way to reference data tables and make formulas within a data table. This allows you to create formulas that a ...

Easy way to reference data tables and make formulas within a data table. This allows you to create formulas that a ...

Dynamic Charts in Excel - The Easy Way

How to create dynamic charts that update automatically when new data is added to Excel. This works with adding new ...

How to create dynamic charts that update automatically when new data is added to Excel. This works with adding new ...

## Subscribe for Weekly Tutorials

### Helpful tutorials delivered to your email!

## Helpful Excel Macros

Get Values from a Chart

- This macro will pull the values from a chart in excel and list those values on another spreadsheet. This will get the s

- This macro will pull the values from a chart in excel and list those values on another spreadsheet. This will get the s

Automatically Run a Macro so Many Seconds, Minutes, or Hours After an Excel Workbook has been Opened

- Run a macro after a certain amount of time has passed since the Excel workbook was opened. This means that you can set

- Run a macro after a certain amount of time has passed since the Excel workbook was opened. This means that you can set

Format Cells as Time in Excel

- This free Excel macro formats a selection of cells in the Time format in Excel. This Time number format means that inst

- This free Excel macro formats a selection of cells in the Time format in Excel. This Time number format means that inst

Basic Web Query in Excel - Import Data from the Web into Excel

- Import data from the web into Excel with this macro. This is a basic web query macro that will import data from any web

- Import data from the web into Excel with this macro. This is a basic web query macro that will import data from any web

Sort Data With Headers in Descending Order in Excel

- This Excel macro sorts data that has headers in descending order. This means that data is sorted Z to A and 10 to 1 - o

- This Excel macro sorts data that has headers in descending order. This means that data is sorted Z to A and 10 to 1 - o

## Similar Topics

Hi all,

I have a dillemma here,

I have to create a schedule which incorporates lunches automatically (either half hour or 1-hour lunches, depending on the circumstances).

The schedule only has time in and time out, but I need excel to automatically deduct the lunch break depending on the circumstance:

If you worked less than 6 hours = no lunch

If you worked more than 6 hours, but less than or equal to 8 hours = 0.5 hour lunch

If you worked more than 8 hours = 1 hour lunch

I am assuming the formula for this will be really long, but I have looked online everywhere and have not found ONE formula for it. I can't put lunch breaks seperately, so all I have to work with is Time in/out.

Also, I wouldn't be able to use military time, so I don't know how excel can assume that time in is in the morning, and time out is in teh evening and/or half-day.

If someone can help it would be greatlyyyy appreciated

I have a dillemma here,

I have to create a schedule which incorporates lunches automatically (either half hour or 1-hour lunches, depending on the circumstances).

The schedule only has time in and time out, but I need excel to automatically deduct the lunch break depending on the circumstance:

If you worked less than 6 hours = no lunch

If you worked more than 6 hours, but less than or equal to 8 hours = 0.5 hour lunch

If you worked more than 8 hours = 1 hour lunch

I am assuming the formula for this will be really long, but I have looked online everywhere and have not found ONE formula for it. I can't put lunch breaks seperately, so all I have to work with is Time in/out.

Also, I wouldn't be able to use military time, so I don't know how excel can assume that time in is in the morning, and time out is in teh evening and/or half-day.

If someone can help it would be greatlyyyy appreciated

Hello,

Please help!!!

We have a client who will pay using the 1/4, 1/2/ and 3/4 of an hour increments as follows:

From the hour mark to 6 minutes = 0 time paid

Over 7 minutes to 15 minutes = 1/4 hour 15

16 minutes to 30 minutes = 1/2 hour 30

30 minutes to 45 minutes = 3/4 hour 45

46 minutes to 60 minutes = one hour.

They work on shifts and the operation is 24 hours. Each gets 30 minutes for breaks which is not paid. Pay is biweekly and overtime is anything over 40 hours. Currently, the template we are using looks like this (sorry, I could not figure out how to paste it so you can see it in Excel layout):

WEEK 1 Sunday Monday Tuesday Wednesday Thursday Friday Saturday

5/16 5/17 5/18 5/19 5/20 5/21 5/22

TIME IN ENTER TIME, INCLUDE AM OR PM

TIME OUT

TIME IN

TIME OUT

TIME IN

TIME OUT

TIME IN Total Hours First Week

TIME OUT

HOURS WORKED-OR- choose one

*HOLIDAY WORKED

PAID HOLIDAY (not worked)

*OTHER PAID HOURS

EXPLANATION OF *HOLIDAY WORKED HRS OR *OTHER

I am very new to Excel and need help creating a formula that will allow us to calculate this timesheet? I am in desperate need for help.

Thanks..

Please help!!!

We have a client who will pay using the 1/4, 1/2/ and 3/4 of an hour increments as follows:

From the hour mark to 6 minutes = 0 time paid

Over 7 minutes to 15 minutes = 1/4 hour 15

16 minutes to 30 minutes = 1/2 hour 30

30 minutes to 45 minutes = 3/4 hour 45

46 minutes to 60 minutes = one hour.

They work on shifts and the operation is 24 hours. Each gets 30 minutes for breaks which is not paid. Pay is biweekly and overtime is anything over 40 hours. Currently, the template we are using looks like this (sorry, I could not figure out how to paste it so you can see it in Excel layout):

WEEK 1 Sunday Monday Tuesday Wednesday Thursday Friday Saturday

5/16 5/17 5/18 5/19 5/20 5/21 5/22

TIME IN ENTER TIME, INCLUDE AM OR PM

TIME OUT

TIME IN

TIME OUT

TIME IN

TIME OUT

TIME IN Total Hours First Week

TIME OUT

HOURS WORKED-OR- choose one

*HOLIDAY WORKED

PAID HOLIDAY (not worked)

*OTHER PAID HOURS

EXPLANATION OF *HOLIDAY WORKED HRS OR *OTHER

I am very new to Excel and need help creating a formula that will allow us to calculate this timesheet? I am in desperate need for help.

Thanks..

Hi,

I made a simple worksheet that we have been manually entering the time for employees, but there are too many errors (even with simple math). Can someone help me convert the time of ex: written 8-4:30 or 10-3 (meaning 8:00am to 4:30pm) where you have the total weekly hours? Right now I have a column for overtime. Is there a way to automatically calculate the over time also? The work day is 8-4:30 with a half hour lunch (lunch is not calculated into the hours, so you minus a half hour). 8-4:30 equals 8 hours. So, if a person works 8am to 6:30pm, how can I set it up where in the first row of time, I will type in 8-6:30pm. In the totals column to the far right, it will display 8 hours. In the (O.T.) column, it will display 2 hours.

This way, when I call in my payroll, I will have the total "regular" hours in one row and underneath, I will have the total overtime hours.

Or... does anyone have a better solution to keeping track of their hours?

Thanks!

Marty

I made a simple worksheet that we have been manually entering the time for employees, but there are too many errors (even with simple math). Can someone help me convert the time of ex: written 8-4:30 or 10-3 (meaning 8:00am to 4:30pm) where you have the total weekly hours? Right now I have a column for overtime. Is there a way to automatically calculate the over time also? The work day is 8-4:30 with a half hour lunch (lunch is not calculated into the hours, so you minus a half hour). 8-4:30 equals 8 hours. So, if a person works 8am to 6:30pm, how can I set it up where in the first row of time, I will type in 8-6:30pm. In the totals column to the far right, it will display 8 hours. In the (O.T.) column, it will display 2 hours.

This way, when I call in my payroll, I will have the total "regular" hours in one row and underneath, I will have the total overtime hours.

Or... does anyone have a better solution to keeping track of their hours?

Thanks!

Marty

Happy Day to all,

Can you please help me,

A1= time in

B1= time out

C1= time in

D1= time out

I want to calculate the late and under time,

Office start at 9:am w/30 mins Grace period,

The break time is one hour only, please include over breaktime in calculation.

End of office hours 6:00 pm, strickly no over time

Can you please help me,

A1= time in

B1= time out

C1= time in

D1= time out

I want to calculate the late and under time,

Office start at 9:am w/30 mins Grace period,

The break time is one hour only, please include over breaktime in calculation.

End of office hours 6:00 pm, strickly no over time

I am trying to calculate time based off a non-conventional quarter hour time system

example;

8:00 to 8:07 = 8.0 hrs

8:08 to 8:23 = 8.25 hrs

8:24 to 8:38 = 8.5 hrs

8:39 to 8:53 = 8.75 hrs

8:53 to 8:59 = 9.0 hrs

I am having trouble writing an equation that would sum the clock-in and clock-out times (2 per day) and display the total time in these quarter hours and adding an additional hour if it is >= to *:53. Any help would be great.

example;

8:00 to 8:07 = 8.0 hrs

8:08 to 8:23 = 8.25 hrs

8:24 to 8:38 = 8.5 hrs

8:39 to 8:53 = 8.75 hrs

8:53 to 8:59 = 9.0 hrs

I am having trouble writing an equation that would sum the clock-in and clock-out times (2 per day) and display the total time in these quarter hours and adding an additional hour if it is >= to *:53. Any help would be great.

Hi Guys,

I need help....I am working production scheduling with Start and End time but there is a lunch time and tea time. Is there any formula to calculate Start time to End time with excluding lunch time?

Here is example :

Lunch time :12:00pm to 1:00pm.

Duration Process :6 hours.

Start Time (8:00am)

End time (5:00 pm)

I need a formula to calculate from Start Time 8:00am and what is the End Time? with 1 hour lunch time...

Thanks,

ET

I need help....I am working production scheduling with Start and End time but there is a lunch time and tea time. Is there any formula to calculate Start time to End time with excluding lunch time?

Here is example :

Lunch time :12:00pm to 1:00pm.

Duration Process :6 hours.

Start Time (8:00am)

End time (5:00 pm)

I need a formula to calculate from Start Time 8:00am and what is the End Time? with 1 hour lunch time...

Thanks,

ET

How do I calculate the number of batches per hour? Here's what I have so far:

Cell B5: start time: 4:15 formatted as 4:15:00 am

Cell B6: finish time: 6:15 formatted as 6:15:00 am

Cell B7: total time: 2:00 formula in cell: =TEXT(B6-B5,"h:mm")

Cell B8: total batches processed: 22 (this is entered manually)

Cell B9: batches per hour: formula in cell: =B8/TEXT(B7,"h")

as long as I have this formula in cell B9 the answer comes out correct which should be 11 per hour.

If the formula in B9 is B8/B7, the answer is 264.0, Is this because of the way excel is reading the total time or the total time is formatted as a time, not an actual number? Is this the correct way to solve the problem?

answer should be 11 per hour.

Cell B5: start time: 4:15 formatted as 4:15:00 am

Cell B6: finish time: 6:15 formatted as 6:15:00 am

Cell B7: total time: 2:00 formula in cell: =TEXT(B6-B5,"h:mm")

Cell B8: total batches processed: 22 (this is entered manually)

Cell B9: batches per hour: formula in cell: =B8/TEXT(B7,"h")

as long as I have this formula in cell B9 the answer comes out correct which should be 11 per hour.

If the formula in B9 is B8/B7, the answer is 264.0, Is this because of the way excel is reading the total time or the total time is formatted as a time, not an actual number? Is this the correct way to solve the problem?

answer should be 11 per hour.

Good afternoon,

Is there a way to enter a colon into a standard number to create a value that can be formatted into a 24 hour time value ?

eg a time is listed as 1345 with a general number format, and I want it returned as 13:45 witha custom format of hh:mm.

Other than creating a table and using a vlookup function, I am hoping there is a better way?

Darren

Is there a way to enter a colon into a standard number to create a value that can be formatted into a 24 hour time value ?

eg a time is listed as 1345 with a general number format, and I want it returned as 13:45 witha custom format of hh:mm.

Other than creating a table and using a vlookup function, I am hoping there is a better way?

Darren

I have a pivot chart with a bunch of data series, and every time we

include/exclude one of the series to see how the chart changes, all the

colors change and we have to spend time re-identifying which series is

which, using the legend to check the colors.

Is there a way to "lock" the colors, so that the bars stay the same colors

regardless of whether other bars are included/excluded?

Thanks!

Keith

include/exclude one of the series to see how the chart changes, all the

colors change and we have to spend time re-identifying which series is

which, using the legend to check the colors.

Is there a way to "lock" the colors, so that the bars stay the same colors

regardless of whether other bars are included/excluded?

Thanks!

Keith

I have data with time in standard fromat i.e. 3:00PM but I need it to be in

24 hour format i.e. 15:00. How can I do this?

24 hour format i.e. 15:00. How can I do this?

Also, I cannot move the Pivot Table from the new Worksheet it is created in, to my existing Worksheet.

I am running Excel 2011 for Mac.

I have a Worksheet with a small amount of data, and when I click the Pivot Table button it automatically creates the Pivot Table in a new Worksheet. The Pivot Table data is fine, but I want it to display alongside the source data.

I've tried using the Move Pivot Table option and choosing to Create Pivot Table in Existing Worksheet and choosing a source cell alongside my current data, but nothing appears. Also, I checked in Edit menu and found that the Pivot Table appears to have not even been created/moved because there is no option to undo it.

Appreciate any help, let me know if you have any further questions.

Hunter

I am running Excel 2011 for Mac.

I have a Worksheet with a small amount of data, and when I click the Pivot Table button it automatically creates the Pivot Table in a new Worksheet. The Pivot Table data is fine, but I want it to display alongside the source data.

I've tried using the Move Pivot Table option and choosing to Create Pivot Table in Existing Worksheet and choosing a source cell alongside my current data, but nothing appears. Also, I checked in Edit menu and found that the Pivot Table appears to have not even been created/moved because there is no option to undo it.

Appreciate any help, let me know if you have any further questions.

Hunter

I have a very simple pivot table that I am trying to use as a data source for a VLOOKUP request. Unfortunately, every time I do it I get the result #NA. I have tried recreating the results from the pivot table in the worksheet next to it, and am able to use VLOOKUP on them successfully, but as soon as I point the VLOOKUP array to the pivot table, I get the #NA result

Can VLOOKUP be used on pivot tables? If so, is there any special syntax I need to use?

Thanks

Can VLOOKUP be used on pivot tables? If so, is there any special syntax I need to use?

Thanks

Entering time values in custom format [h]:mm:ss

Cells accept hours over 23,

Adding cells in column returns correct total time.

Have not found a way to multiply these cells by a $ hourly rate.

So use HOUR(cell ref) and MINUTE(cell ref) to capture values in referenced

cell - then use these values to calculate total payment for $rate per hour.

However, the HOUR(cell ref) formula returns the hours in excess of 24 when

the cell contains an hour value in excess of 23 (ie 27 hours returns 3).

Cells accept hours over 23,

Adding cells in column returns correct total time.

Have not found a way to multiply these cells by a $ hourly rate.

So use HOUR(cell ref) and MINUTE(cell ref) to capture values in referenced

cell - then use these values to calculate total payment for $rate per hour.

However, the HOUR(cell ref) formula returns the hours in excess of 24 when

the cell contains an hour value in excess of 23 (ie 27 hours returns 3).

Hi,

Im working with a large data spreadsheet that has Yes and No answers in different columns. There are blanks within the selection too.

I need to calculate only the Yes.

I have tried using the filters in the Pivot Table field list and they are not working.

So now i'm trying to add a COUNTIF formula in the Calculated Fields section.

The formula I'm using is =Countif('Time limit extension'="yes") and i get the answer "too few."

What should I be using in the formula to get the calculated field to work? I have search the whole forum and I haven't found an answer that can help me.

Please HELP!!!

Im working with a large data spreadsheet that has Yes and No answers in different columns. There are blanks within the selection too.

I need to calculate only the Yes.

I have tried using the filters in the Pivot Table field list and they are not working.

So now i'm trying to add a COUNTIF formula in the Calculated Fields section.

The formula I'm using is =Countif('Time limit extension'="yes") and i get the answer "too few."

What should I be using in the formula to get the calculated field to work? I have search the whole forum and I haven't found an answer that can help me.

Please HELP!!!

Hi everyone,

I found an excellent macro this morning that allows the user to filter a pivot table based on the value found in a specific cell. This cell essentially acts as a search bar, allowing the user to type in what they are looking for rather than select it from a drop-down list.

The macro works perfectly for my purposes except in one regard: I can no longer perform a "show all" filter. If I leave the "search bar" cell blank, the pivot table shows nothing. I'm sure that there is an easy fix for this but I'm still learning the basics of how to write and use macros. How can I change the code so that when I leave the cell blank, the pivot table shows all? The search bar cell is D2.

Thanks for your time!

I found an excellent macro this morning that allows the user to filter a pivot table based on the value found in a specific cell. This cell essentially acts as a search bar, allowing the user to type in what they are looking for rather than select it from a drop-down list.

The macro works perfectly for my purposes except in one regard: I can no longer perform a "show all" filter. If I leave the "search bar" cell blank, the pivot table shows nothing. I'm sure that there is an easy fix for this but I'm still learning the basics of how to write and use macros. How can I change the code so that when I leave the cell blank, the pivot table shows all? The search bar cell is D2.

Thanks for your time!

I would like to copy a small table from Word into one cell in an Excel

worksheet. The first column of the table is a list of numbers. I tried

converting the table into text with manual line breaks and tab stops to

divide columns and rows, but that didn't solve my problem.

Excel pastes the data into several rows. When I try to merge them, I

get a warning that the selection contains multiple data values, and

merging into one cell keeps the upper-left most data only.

What I tried that didn't work:

* Formatting the Excel cells as text before pasting the data.

* The various options for "Paste Special." The closest I got was

inserting the table as a Document Object, which could be a workaround,

I guess.

What I am saving for when all else fails:

* The obvious solution of copying row by row into one Excel cell.

The data in the table is information about my dad's medications. I

would like to have reference charts of how to identify the strength of

each tablet by its color and markings. I got the info from the

manufacturers' websites and entered it into tables in Word, which I

would like to copy into a more comprehensive file I am creating in

Excel. The first column of each table is the strength of the tablet,

entered as 1 mg., 2 mg., etc. The subsequent columns describe the

shape, color, and markings. There are 3 tables, each with about 4-5

rows.

Is there a way to copy each one - whether as a table or as text - into

a single Excel cell without losing data?

Many thanks.

worksheet. The first column of the table is a list of numbers. I tried

converting the table into text with manual line breaks and tab stops to

divide columns and rows, but that didn't solve my problem.

Excel pastes the data into several rows. When I try to merge them, I

get a warning that the selection contains multiple data values, and

merging into one cell keeps the upper-left most data only.

What I tried that didn't work:

* Formatting the Excel cells as text before pasting the data.

* The various options for "Paste Special." The closest I got was

inserting the table as a Document Object, which could be a workaround,

I guess.

What I am saving for when all else fails:

* The obvious solution of copying row by row into one Excel cell.

The data in the table is information about my dad's medications. I

would like to have reference charts of how to identify the strength of

each tablet by its color and markings. I got the info from the

manufacturers' websites and entered it into tables in Word, which I

would like to copy into a more comprehensive file I am creating in

Excel. The first column of each table is the strength of the tablet,

entered as 1 mg., 2 mg., etc. The subsequent columns describe the

shape, color, and markings. There are 3 tables, each with about 4-5

rows.

Is there a way to copy each one - whether as a table or as text - into

a single Excel cell without losing data?

Many thanks.

Dear Sir,

If any one could give me a solution for this its will be a great help for me.

I am working in a bank and on every day we receive Month to date data of Loans and advances made by every branch with Region wise total and manager wise total. With Sum of loan and count of loan. In our MIS format the in A coulum branches are sorted and listed in a sequence with sub total Region. I have data where if if do the pivot and change the data the out put should be displayed accordingly in the MIS format. Can any one help me how can we do this or is there any other office addins/softwares are available if so the data is changed on a daily basis and if we do the pivot it will automatically copy the data to the MIS format.

Thanks.

If any one could give me a solution for this its will be a great help for me.

I am working in a bank and on every day we receive Month to date data of Loans and advances made by every branch with Region wise total and manager wise total. With Sum of loan and count of loan. In our MIS format the in A coulum branches are sorted and listed in a sequence with sub total Region. I have data where if if do the pivot and change the data the out put should be displayed accordingly in the MIS format. Can any one help me how can we do this or is there any other office addins/softwares are available if so the data is changed on a daily basis and if we do the pivot it will automatically copy the data to the MIS format.

Thanks.

How would I create a system where an excel file is updated in real time with new values? I have a program which logs data, and I want to have excel open, plotting the data in real time. Is this possible?

is it possible to put two formulasinto one cell?

On the attached timesheet there are columns IN, OUT, IN,OUT

The lunch time is worked out by deducting 'C8 from C9' and this works fine when all 'IN, OUT' cells are filled in but for some reason when just the first two cells are filled in it gives a -12 hour answer.

looking at cell 'C11 ' in the attached worksheet, I currently have the formula

=IF(C13=0,","SUM(C9-C8)) The reason for this is to make it look tidy by having blank cells until a calculation is needed,, My problem is, If someone just comes in for the morning one day for instance 8am to 12 noon then they won't have lunch, but C11 will show -12:00

Can I put another formula into C11 to tell it not to deduct C8 from C9 until a time is put into C9.

The following is the sort of thing (many variations) I have been trying but because I'm hopeless at formulas I'm not having any success

Thanks

=IF(C13=0,","SUM(C9-C8))OR,IF(C9,ISBLANK,"",SUM(C9-C8)

On the attached timesheet there are columns IN, OUT, IN,OUT

The lunch time is worked out by deducting 'C8 from C9' and this works fine when all 'IN, OUT' cells are filled in but for some reason when just the first two cells are filled in it gives a -12 hour answer.

looking at cell 'C11 ' in the attached worksheet, I currently have the formula

=IF(C13=0,","SUM(C9-C8)) The reason for this is to make it look tidy by having blank cells until a calculation is needed,, My problem is, If someone just comes in for the morning one day for instance 8am to 12 noon then they won't have lunch, but C11 will show -12:00

Can I put another formula into C11 to tell it not to deduct C8 from C9 until a time is put into C9.

The following is the sort of thing (many variations) I have been trying but because I'm hopeless at formulas I'm not having any success

Thanks

=IF(C13=0,","SUM(C9-C8))OR,IF(C9,ISBLANK,"",SUM(C9-C8)

I am looking for the code to select the visible data after applying a data filter. Actually I know how to select the data after applying the data filter but the issue is I am not able to exclude the header row and give the target range as used (non-blank) rows only!!

I am using below code to Select the Visible rows in the target range:

Code:

Problems in this code a

1) after applying the filter, while selecting the data it is selecting all the rows in given range till last row on the workbook. I need this to select the the data only till the last used row in the given range.

2) It is not possible to provide the address of the first row after we apply the filter since the first row address may change depending on the values in the table.

E.g. 1st time when I am running the macro the first row in the visible filtered data is starting at Cell address A4 and next time when I will run the macro it may be A6

3) The Code is also selecting the 1st row which is a header row. How can we exclude it from selection.

Some one please revert with the solution.

Thanks in advance.

I am using below code to Select the Visible rows in the target range:

Code:

Range("A:p").SpecialCells(xlCellTypeVisible).Select

Problems in this code a

1) after applying the filter, while selecting the data it is selecting all the rows in given range till last row on the workbook. I need this to select the the data only till the last used row in the given range.

2) It is not possible to provide the address of the first row after we apply the filter since the first row address may change depending on the values in the table.

E.g. 1st time when I am running the macro the first row in the visible filtered data is starting at Cell address A4 and next time when I will run the macro it may be A6

3) The Code is also selecting the 1st row which is a header row. How can we exclude it from selection.

Some one please revert with the solution.

Thanks in advance.

I am looking for assistance in having one cell in a text format equals another cell that contains a time value in hh:mm format.

For example: Cell A1 has a time format (hh:mm) value of 04:00; which is the Start Time. I would like cell D1 to have a text format value of "04:00" (result is dependant upon what is entered in A1). I would duplicate the same formulas to reflect Stop Times in other cells.

My final result is to have another cell (F1) use the Concatenate formula to have the Start and Stop time shown in one cell as "04:00 - 12:30". The times would change based on the Time formated values entered into the Start and Stop time cells.

I have researched this in the board and found many excellent ways to do the opposite, but not convert Time format to Text format. Any assistance is greatly appreciated.

-Shane

For example: Cell A1 has a time format (hh:mm) value of 04:00; which is the Start Time. I would like cell D1 to have a text format value of "04:00" (result is dependant upon what is entered in A1). I would duplicate the same formulas to reflect Stop Times in other cells.

My final result is to have another cell (F1) use the Concatenate formula to have the Start and Stop time shown in one cell as "04:00 - 12:30". The times would change based on the Time formated values entered into the Start and Stop time cells.

I have researched this in the board and found many excellent ways to do the opposite, but not convert Time format to Text format. Any assistance is greatly appreciated.

-Shane

In my pivot table I have a lot of cells without any data. The report looks like garbage with all the (BLANK) sohowing up in the report.

I've tried condtional formatting where if the cells = (BLANK) it woulf format them as white -did not work

I tried the pivot table options and clicking on the box "for empty cells show" and set it to 0 then empty but that did not work.

any Ideas???

Thanks

I've tried condtional formatting where if the cells = (BLANK) it woulf format them as white -did not work

I tried the pivot table options and clicking on the box "for empty cells show" and set it to 0 then empty but that did not work.

any Ideas???

Thanks

I'm trying to have separate column widths in the same column, based on the rows.

the top half of my spreadsheet are assumptions, formatted with the corrects widths needed, but then below I have calculations and such that I do not want the same widths for. how can I lock in the top part so I can decrease the column widths for the bottom half of my spreadsheet?

hope this makes sense.

the top half of my spreadsheet are assumptions, formatted with the corrects widths needed, but then below I have calculations and such that I do not want the same widths for. how can I lock in the top part so I can decrease the column widths for the bottom half of my spreadsheet?

hope this makes sense.

In Excel I have been trying to find an easier way to calculate a time

difference where the times cross midnight. Example:

Start time: 23:50:00

End time: 00:15:00

How would you formulate an equation to determine the duration of time or

differnce between the start and end time?

difference where the times cross midnight. Example:

Start time: 23:50:00

End time: 00:15:00

How would you formulate an equation to determine the duration of time or

differnce between the start and end time?

How do i get my reg hours cell to cap out at 40 then start a new value sequence starting from 1 in the overtime hour cell. Is there a formula i can use for that or is there more to it?