Help With Auto Adjusting Date Formula

Apr 6, 2009

This should be simple but I can't get it...any help appreciated. See sample attached

View 6 Replies


ADVERTISEMENT

Auto Adjusting Total From Query

Jan 30, 2013

I currently have a tab that is contains a macro driven query pulling data from an access database. However, I have selected the option to add new rows for new data which in turn causes my sumtotal at the bottom of the sheet to be over ridden by this new data. My question is, could there be a way to have the total row move down as new rows are added from the query (formatting and all)?

View 1 Replies View Related

Adjusting Date Based On Time

Jan 28, 2010

I have the a file that is downloaded from AS400. The time column is presented in 24 hours format in column D. For example : 92114 means 9.21 am. I need a formula to adjust the date in column B based on the following criteria:

1) If the time is after 2.00 pm, adjust to the next working day taking into account public holidays in column H

2) If the time is before 2.00 pm, remain the same day

3) if the time is after 2.00 pm and it is Friday, adjust to the next working day taking into account public holidays in column H

The correctly adjusted date is in column E.

View 2 Replies View Related

Adjusting A Formula

Apr 18, 2008

I am trying to figure out a formula for the boss, but I just cannot wrap my mind around what I need to do. I’m sending out an S.O.S.! If you can figure this out, please respond.

=MIN(b4*12-25%,b4*12-500) + MIN(c4*12-25%,c4*12-500) fills in the cell with the correct answer, but not quite the answer that I need. Let me illustrate:

The first part of the formula is to take b4 times 12 minus 25% --if this amount is less than or equal to 500 then use the amount. If it is more than 500 then use 500.

(b4*12-25%)
234.25 * 12 = 2811 – 25% = 2811
2811 - 25% = 702.75 500 Since this amount is more than 500, 500 should be used instead. ~~this is actually the amount that I want to show in the cell, the amount saved~~
2811 - 500 = 2311 ~~this is the answer that is showing up in the cell, which is not quite what I need. ~~

I want to find the answer to this question: b4 times 12 equals ?, subtract 25% or 500 from that, insert this answer into cell.

One of my biggest problems with this is that I can’t even figure out how to say what it is that I need. The formula is doing exactly what I'm telling it to do and I can't even figure out what it is that isn't working. This formula is confusing my brain…!

View 9 Replies View Related

Adjusting Networkdays Formula

Jun 11, 2007

How would you adjust the network days formula so that Wednesday is considered a non-working day?

View 9 Replies View Related

Adjusting Formula To Calculate Weekdays Only?

Feb 4, 2014

I have the following formula....

=IF(B6<1,"",IF(I6<1,"PENDING",IF(J6>0,J6-I6,"PENDING")))

Where B6 = Job Number
Where I6 = Date Received
Where J6 = Date Completed

This calculates calendar days but now I need it to calculate only business days.

Not sure where within this equation I should insert the NETWORKDAYS function

View 4 Replies View Related

Adjusting Width Of OFFSET In SUMPRODUCT Formula?

Dec 12, 2011

I have a data set that is coming from an Access cross-tab query, with attribute values in the first four columns and two years of sales $ in the subsequent 24 columns, much like:

Product | Category | Region | District | Jan10$ | Feb10$ | Mar10$....etc

I am summarizing the data using multiple criteria, so I've been using SUMPRODUCT formulas that utilize dynamic named ranges. All the summaries have required summing the data by individual months only, so I created only one named range for the sales data and use OFFSET to determine which column to pull it from in the SUMPRODUCT formula, such as

=SUMPRODUCT( --( rngRegion = $A$1), --(rngProduct = $A$2), OFFSET( rngSalesData, 0, $A$3))

...where A3 represent the number of the month that I'm summarizing (i.e. October = 10, etc). This method worked great, but now I'm being asked to summarize data YEAR-TO-DATE. I thought this wouldn't be difficult, as I'd just use the width part of the OFFSET function to expand the range I want to sum. But its not working. I attempted this variation, where I'm trying to sum Jan10 - Oct10.

=SUMPRODUCT( --( rngRegion = $A$1), --(rngProduct = $A$2), OFFSET( rngSalesData, , , ,$A$3)

...but it just gives me the dreaded #VALUE! error. I stripped down the formula to try to find the problem until it was just

=SUMPRODUCT( OFFSET( rngSalesData, , , ,$A$3)

And that gives me the sum I expect for the 10 months of data. The problem seems to be when I add in the additional critiera like --(rngRegion = $A$1), then the #VALUE! error pops up. So I'm guessing the issue is with the sizes of the named ranges in the formula being different even though they aren't, and they work just fine when I'm not trying to leverage the width portion of the OFFSET function. Should I try using a different technique to sum these multiple columns together?

View 5 Replies View Related

What IF Auto Fill Date Formula

Nov 1, 2007

I would like to auto fill the present date if another cell of the same row is typed in and then lock that cell with the date.

For example. If someone types in cell A2 then I would like to auto fill D2 with the date 11/01/2007 and lock it.

If someone tomorrow types in cell A3 then the date would once again be autofilled in D3 to 11/02/2007 while D2 would still display 11/01/2007.

View 9 Replies View Related

Copying Formula On Entire Column Adjusting Some Values But Keeping Some The Same

Jun 28, 2014

How to express what I am trying to do in a sentence but basically I have this formula

[Code] ..........

I need B# to change automatally like it does when you copy the formula but i need the N1 and N2 to stay N1 and N2, how do i do this?

View 3 Replies View Related

How To Auto-Populate Date Range (working Days Only) From Start Date And End Date

May 25, 2014

I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.

View 1 Replies View Related

How To Auto Populate Date Range (working Days Only) From Start And End Date

May 26, 2014

i am trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.

View 4 Replies View Related

IF Date Formula: IF Formula, That States If A Date Is More Than A Month After The Date In The Cell Then It Is Timely

Jun 2, 2006

I need an IF formula, that states if a date is more than a month after the date in the cell then it is timely and if it isn't then it is not timely. For example the date in A1 is 12/11/05, if the cell is A2 is 13/12/05 (or any date after that) then A3 should read Not Timely, if A2 is 12/12/05 (or any date before that, including a date before the date in A1) then A3 should read Timely. Is there any way to do this?? At the moment I am having to go through manually and put in either Timely or Not Timely.

View 2 Replies View Related

Adjusting Row Height To Fit Text

Dec 10, 2012

How Auto Resize (height) cell to fit text? (macros, formulas, setting)? One can make the height of the cell is reset according to the amount of text?

ej..jpg

View 4 Replies View Related

Adjusting Height Of Rows?

Jan 30, 2014

I'm writing a code to adjust the height of the row based on the wraped lines. I want it to be "16.5 * (number of lines)".

First I counted the number of lines in each cell. I wrote at D1 the formula to calculate the lines at A1:

=LEN(A1)-LEN(SUBSTITUTE(A1;CHAR(10);""))+1

Then I wrote this vba code to adjust the height:

Sub AdjustHeight()
Dim x As Double
x = 1
For Each Cell In Range("A1: A11")
Cell.RowHeight = 16.5 * CELL(D"x")
x = x + 1
Next Cell
End Sub

How do I do that multiplication? How can I tell it to multiply 16,5 with the value of the cell D"x"? Is this the best way?

View 2 Replies View Related

Adjusting If -Then Statement In Code

Dec 8, 2009

I am trying to make some additions to this code. Basically what it does is copy some data from another sheet. Now there are two types of copying here.

1. A ‘call value’ from another sheet is copied to this sheet.

2. The formula from the previous cell in the column is copied. (eg. Formula in C3 is copied to C4, formula in D3 is copied to D4, and so on)

So the macro works fine for all cases EXCEPT the initial entry, which will be in Row3, that’s where the formulae begin. So I need some kind of an If-Then statement.. to say if A3 is empty then do the following, If not then do something else....

View 12 Replies View Related

Automatically Adjusting Vlookup

Oct 22, 2008

I have a table upon which I wish to perform vlookups, however I need to be able to adjust the range that the vlookup searches to include any data that may be added in the future without having to go into the sheets and change the vlookup.

Example

Name DOB
Tom 01/01/81
Dick 02/02/82
Harry 03/03/83

if someone then adds

Fred 04/04/84

I would like the vlookup to automatically accommodate the extra entry without needing any changes.


I've seen this done on data validation with the following formula:

=OFFSET($a$1,0,0,MATCH(REPT("z",255),$A:$A))

It only needs to do new rows, not columns.

View 9 Replies View Related

Automatically Adjusting Dates

Jun 29, 2006

I am using the =today() function to places todays date in a cell...how can I get the next to cells to automatically display dates that are 2 months and 4 months later without having to change them manually every day. FWIW, this is for an certification expiration chart.

View 4 Replies View Related

Sumproduct, Excluding Some Values And Adjusting

Oct 21, 2009

I'm working on a spreadsheet to rank stores based on how they perform in certain metrics. These metrics are weighted, and occasionally a metric for a store will get waived. I'm having trouble figuring out how to handle this without making a custom formula for each occurrence.

View 7 Replies View Related

Adjusting Price Based On Volume?

Sep 17, 2010

I am trying to figure out if something here is even possible. I have an order form and a price list. I get different pricing based on the quantity I purchase. I would like to have the price auto populate based on the quantity entered. The price will be on another sheet.

I couldn't find a lot of info but I also may not know where to look.

example:

if (b2<62) then price is ($sheet2.b2)
if (b2<124) then price is ($sheet2.c2)
if (b2<372) then price is ($sheet2.d2)

Is this even possible to put into a formula?

View 6 Replies View Related

Adjusting VBA Code From A Spreadsheet List

Oct 3, 2008

below is some code from a spreadsheet I am working on,,,,,, as you can see it adds items to a dropdown list in a combo box. This may require an update at another time,,,,, is it possible for the list to be updated from a list in the spreadsheet, therfore preventing people from accessing the code

View 4 Replies View Related

Adjusting Dropdown Filter In Table

Oct 11, 2013

I've got a Table with 3 columns. (Goods, Amounts, Type). Every column has similar filter. Can I from the second and third filter remove the single item selection (red square below).

View 2 Replies View Related

Adjusting VB Code To Combine Only Certain Worksheets

Mar 26, 2014

I saw the below code in another thread that does almost what I need it to do. The only thing is that I need to only select certain worksheets, not all. Is there an adjustment I can make to this code or is there something I can do differently?

Each worksheet has a table on it as well, is there a code I could use to just combine certain tables?

Sub debit1()
'Combine all worksheets to the Summary sheet
'Created by Trevor G 30 June 2011
Dim ws As Worksheet

[Code]......

View 7 Replies View Related

Graphically Adjusting Zoom Using A Scroll Bar

Dec 14, 2007

I am created a very simple account plan for colleagues in my team which is proving to be very poular with the exception of one thing.

I created the plan which is around 30 sheets on my laptops highest resolution setting. 1400 x 1050. Only one other colleague has this res available so of course when the rest of the team open it, it looks huge.

I need help with this as I'm still very new to excel, although learning very fast!

My preference for finding a fix for this would be to insert a scroll bar on each sheet that, when scrolled, changes the zoom of the page between a range of 50% and 100%. This may not be the best way of doing it but I'm trying to make the sheets as simple to use as possible as some of my colleagues are only just compuetr literate, let alone excel competent!

View 9 Replies View Related

Creating A Automated Adjusting List

May 27, 2006

i do not know or can seem to find out is how i can program the team list in the table to adjust each team position auto-maticly relevant to each teams points scored

IE 1st 2nd 3rd 4th etc in a vertical league list

View 9 Replies View Related

Adjusting Macro To Use On Time Method.

Jul 5, 2006

I have a macro on a workbook that when I hit the button it asks for the date of a register sales journal that I want to import. Then it asks for the cash in drawer amount. Then it puts in all of the data into the sales spreadsheet. Now I want to use the on time method to bypass the button and the entry of the date, and even get rid of the cash in drawer. I want to make the macro run at 9:30 every night. I want it to use the date on the computer to tell it which date to find? Here is the code I'm using! button macro

' Button2_Click Macro

Sub Button2_Click()
ImportData
End Sub

Here is the main macro
Function FileExists(sFile As String) As Boolean
Dim iLen As Integer
On Error Goto NO_FILE
FileExists = True

iLen = FileLen(sFile) ................

View 9 Replies View Related

Automatically Adjusting League Table

Sep 12, 2007

This is for a call centre and sales office. there are 3 tabs. Tab 1 represents the values that we update at the end of each week which then gives a running total over an 8 week period and then an average below. there is a seperate table for each staff member. Tab two is for one team of people and tab two is for the other team. Namely LG team and Sales Team. the tab 2 and 3 are to show league tables that both collect data from tab 1, but then create a league table showing who is top dog over the 8 week period. But this also has to self adjust to be in order.

on tab 2 and 3, the tables on the left will be hidden once complete, but are there to work out the league. the table on the right is then there to put and show the league in the right order. I HOPE THAT MAKES SENSE, COS EVEN I'M LOST NOW. I've followed previous advice on this and inputted what I think are the right formulas, but for some reason it's coming up with the wrong answers and several names are being repeated which are wrong. For example even when ben perhaps is number 2, it will show rahim as number 2 and number 3. why is this?

also, how do I get by the problem of on the odd occassion when perhaps ben and rahim have the same stats and are joint second, but it will only show ben as 2 and ben as 2 again, leaving rahim out of it. WOW. I'm glad I've got that out of my system. I was doing the washing up yesterday donig Excel formulas in my head. But the washing up got done at least.

View 3 Replies View Related

Auto Date ...

May 22, 2008

Is it possible that when I type data into Cell A1, the date will automatically appear next to it in cell B1? I want this down the column.

the date has to be static. I tried this =if(isempty(a1),"",today()). This works but teh date changes everyday to reflect the current date.

View 9 Replies View Related

Auto Date

Jul 10, 2009

Is there a way to have a date automatically appear in cell T8 when you first open the spreadsheet?

But every time after that you open it stays the same date as you first entered?

View 9 Replies View Related

Copy Cells And Paste Like A Cut - No Adjusting For Movement?

Jan 26, 2014

Is there some possible way to control-C type copy a range from a sheet, then paste it duplicating everything from the original cheet; i.e., exact same cell references as are in the cell formulas?

I am suspicious it is right in front of me and I can;t see it, but I have run through all the special pastes that I could from the left-click paste sub-menus and I can not find it!

View 7 Replies View Related

Adjusting Charts To Reflect Data Properly

Feb 2, 2009

I've compiled data into a spreadsheet which indicates the number of homes sold over the course of 3 years (from 1/1/05 to now) along with their price per square foot, sale price, year built, bed/bath count, and other pertinent factors regarding each property.

I've extrapolated graphs from these in the past which indicated the trends in each category over time (i.e.: Average quarterly price per square foot over time, and so forth).

The data range I'm working with now, however, is from an area of my region so small, that the number of units sold over the past few years is sporadic. Whereas it's normally 100 to 1000 units that comprise my data, now it's only 15 units.

This has created gaps in my line graphs where the price per square foot will dramatically drop down to zero over the periods in time where no sale was recorded. So the line graph ends up looking like a zig-zaggy range of peaks reflecting the price per square foot of a sale, and valleys representing "$0.00" for periods of time where nothing has sold.

To have a Price per square foot of $0.00 is incorrect since in reality nothing was sold.

I would like to be able to eliminate the portions of the graph that have the "$0.00" so that the line graph can "jump" from one sale to the next when the quarterly data indicates 0 units sold.

I'd like to do this without having to eliminate those areas in my spreadsheets. Is there any "catch-all" tool that might do this or is that just crazy talk?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved