Combining Date Field And Adding Values.

Sep 21, 2006

I have a spreadsheet that retrieves data from a 3rd party app/database. The data that is returned has two dates..

ie..
1/1/051.31.4
1/1/051.31.4
1/2/051.31.5
1/2/051.31.5
1/3/051.32.6
1/3/051.30
etc..

What I would like to see is..

1/1/051.32.8
1/2/051.33.0
1/3/051.32.6

Date range varies, but usually there are two dates retrieved. Date is pulled and display within A2:A700 Range.

View 3 Replies


ADVERTISEMENT

Adding Values Under Same Date

Dec 19, 2012

I have this sample excel ,and I would like to add each value on the 6th row under the date .But I would like to add values under the same date .

View 6 Replies View Related

Auto Populate Field With Date When Other Field Is Selected From Validation List

Jul 4, 2013

In the following extract, I would like to have today's date placed into Col K when an entry is made into Col J.

Entry into Col J is from a validation list of 3 options. What I desire is that when one of these options is selected ("Complete"), then I would like today's date to be written into Col K.

Currently Col K has a validation list which comprises dates from 1st of each month from July to June.

I need a fixed date as text preferably, so was thinking the VBA function "Date" on a Change Workbook Sub.

The information is currently part of a Table in Excel 2007 that has about 500 records.

IdeasList

*
J
K

2
Status
Month Completed

3
In Progress
*

4
Complete
Jul-13

5
*
*

6
*
*

Data Validation in Spreadsheet

Cell
Allow
Datas
Input 1
Input 2

J4
List
*
=ValidationList_Status
*

K4
List
*
=ValidationList_Months
*

View 2 Replies View Related

Changing A Numerical Field To A Date Field

Dec 28, 2006

in coverting these fields into a date field.

Example 91306 to 060913

I have encloed the file.

View 14 Replies View Related

Counting Per Date Field And Data Field

Apr 29, 2006

I am trying to count the number of times that data is in a field and in any field the date is greaert than today's date. This date field could be blank and that is where I am having the problem.

Example

See Attached

View 4 Replies View Related

Array Formula - Finds Date Then Start Adding Values Until Specified Sum Reached

Jul 23, 2014

I have an Excel workbook with two sheets "DataSheet" and "Actual Peaks", "DataSheet" contains a column with dates and a column with values. "Actual Peaks" has a bunch of dates listed in a column. For each date in 'Actual Peaks', another column goes back to the "DataSheet" finds the date, then starts adding values until a specified sum is reached, once the sum is reached, it returns the date at which the sum was reached. However, I have found that sometimes it is off by a day or two.

See the attached workbook for a much clearer example : Excel_forum help 7-23-14 DD validation.xlsx‎

View 7 Replies View Related

Adding New Field To Pivot Table

Jul 5, 2014

I have two fields in pivot table, "HATA TOPLAMI" and "SIRA NO". "Hata toplamı" is sum of items, and "Sıra no" is count of items. İ want to divide these two fields and add it to the pivot table, like "HATA TOPLAMI" / "SIRA NO". I have tried calculated field function from pivot table. İ wrote "="HATA TOPLAMI" / "SIRA NO"". But the summary is false. I want to divide Sum of "Hata toplamı" and count of "Sıra no" but instead it divides with sum of "sıra no". Is there a way to do this?

View 3 Replies View Related

Adding Numbers That Have Text In Same Field?

Sep 20, 2012

I am working on making a time sheet log that will have employee name, 7 rows for days of the week and a row for total hours worked. each cell will either be blank in that row because employee has not worked that day or it will have numerical hours and the place the employee worked. We have many different job sites so text is subject to change. For example Monday employee 1 worked 8 hours at MRCR, so cell would state 8 MRCR Tuesday did not work so left blank. Wednesday worked 8 hours at CCR so will be 8 CCR. Thursday worked 8 hours at CU. so 8 CU in cell. Friday Saturday and Sunday left blank. How do i add create a formula that would be standard formula for each week for employee that would add numbers and omit text as well as ignore blank cells from week to week as the employee schedule changes.

View 7 Replies View Related

Adding City Field To Existing Spreadsheet

Mar 31, 2014

I have a spreadsheet of over 8000 addresses. I have the street, state and zip but not the cities.

Is there a way I can do a search and mass import of cities from a website, like USPS? I'd like to know if there is something I can do quickly rather than manually look each zip code up and enter it in one by one.

View 2 Replies View Related

Adding Pivot Table Field With RANK

Dec 17, 2008

I have a PT with multiple data fields that I want to Rank individually and then give those ranks a weight percentage. Once I have that weighted rank, then I can sort PT items based on the rank.

Is there a way to do this inside the PT?

I.E.

Items are PNs

Data fields are NUMBER OF TRANSACTIONS, QTY SOLD, DOLLARS SOLD

I want to rank each field and then assign a weight to it. Then I can sort PT based on the RANK data field.

View 9 Replies View Related

Adding A Pivot Table Field With RANK

Dec 17, 2008

I have a PT with multiple data fields that I want to Rank individually and then give those ranks a weight percentage. Once I have that weighted rank, then I can sort PT items based on the rank .....

View 9 Replies View Related

Pivot Table: Adding A Percentage Field As '% Of Subtotal'

Nov 21, 2007

In the attached Excel file, there is a pivot table.

In the Data part of the table, there are two columns. The second is the exact same field than the first one but expressed as percentage (Field settings/Options/Show field as "% of" + "Total".

The problem is: I don't want to express this field as a % of Total ('Grand total') but rather as a % of Subtotal (e.g. Danemark Total).

View 11 Replies View Related

Adding Values In Cells (stops Adding After Row 14)

Oct 1, 2009

I am trying to add numbers from cells if it IsNumeric and for some reason in column K the macro doesnt recognize numbers after row 14?

The range column is "E4:E"
Search criteria is the letter "R" in column "E" Then using OffSet, I go thru other columns and process data. Most of the macro works except for column K after row 14?

View 5 Replies View Related

Date Sorting With Key Field As Date And Month Only.

Apr 13, 2009

I need VBA code to sort the birthdays for all the employees in my company.

See the attached file for example.

I need to sort according to their month and then date and not with their year.
i.e it should not consider Year for sorting.

View 2 Replies View Related

Keep Date When Combining 2 Cells

Dec 29, 2009

I'm trying to combine 2 cells: 1/1/09 and ABC. However, when I combine them the date keeps changing to a number. Is it possible to keep the date format?

View 2 Replies View Related

Combining Date And Text

Aug 18, 2008

I have a workbook where I track projects. Whenever I enter an update in the comments section for a particular project I enter the current date and the word UPDATE! into a column labelled Updated. The format should look like the following.

18-Aug-08

UPDATED!

As I have to do this on a regular basis I wanted to create a macro that would do this. I came up with the following.

View 2 Replies View Related

Combining 2 Cells To 1 With Date

Jan 11, 2010

I am combining information from two different cells to one cell using cell reference such as,(=B4&"/"&F5),B4 being a number and F5 the date. So my question is how to get the date to show as a date value and still have the other value remain unchanged. I have tried to use formating but will not work to keep the date. An example would be

View 2 Replies View Related

Combining Cell Values?

Nov 26, 2008

I'm having trouble combining some values in cells. For example in cell A1 i have the value 372-25. In cell B1 i want to make A1 part of another value (it is an APN if you must know). So that cell would be 011-372-25-11. I would be adding 011 as a prefix to each cell and 11 as an ending. I'm sure there must be an easy way of doing this.

I have tried
=011-A1-11
="011-"A1"-11"
="011-A1-11"

View 4 Replies View Related

Combining Cell Values?

Feb 8, 2012

I have the follwoing example. Basically, there is an "X" for each posession of Andrew (cells: B1, C2, D3, E4). What I'm trying to do, in another sheet, is centralize the below information in only one row for "Andrew", with an "X" under each of his posessions (all the 4 "X"-es are now in cells B1, C1, D1, E1).

CarPhoneHouseBoatAndrewXAndrewXAndrewXAndrewX

View 2 Replies View Related

Combining Values In Bar Graph

Jul 9, 2012

The company I work for has kept a list of the types of objects sold with their houses and how many were bought for each customer, via an Excel document. Here's a snapshot - You can see the name of each type of object on the left, with each column afterward representing an individual customer (Each vertical row is one customer) and how many of each item they bought.

[URL]

We're hoping to make a bar graph of how many of each type of item has been sold. I selected all the titles and columns of numbers and ended up with this, which is almost what we're looking for:

[URL]

The problem here is that each individual customer has their own line on the graph. The Recessed Can Light one I highlighted is a good example of a lot of people who bought varying amounts of that one item. What I'm looking to do is combine the individual sales for each item and make a single bar for each representing the total sales overall, so we can gauge what the best and worst-selling items are. Is there any way to do this?

View 4 Replies View Related

Combining Separate RGB Values

Mar 13, 2013

I have a User Form in which users can enter R,G & B values in 3 seperate Text Boxes in order to change the colour scheme of a worksheet to suit their personal taste.

I have tried combining the 3 values into a string to give, for example, RGB(255, 182, 45)

But, of course, because it is a string variable it is enclosed in quotaion marks and so, when add to a .Interior.Color function, the qutation marks are added too and the macro fails.

I have tried altering with Left, Right, Mid and Trim but cannot get rid of the quotation marks. I also tried converting to Hex but got totally confused there!

code to convert the values in the 3 list boxes (called LBRed, LBGrn and LBBlu) into an RGB value that can be appended to .Interior.Color

View 2 Replies View Related

Combining Two Area Charts With Different X And Y-values?

May 10, 2014

I need to have two area charts combined, but they have different x and y values. Is there another way to do this.When I try to combine them in one graph, I can only use one x-axis value.

In the excel sheet the PV needs to be the x-axis.

View 1 Replies View Related

Combining Values In Multiple Lines

Apr 15, 2008

I receive a monthly report containing a list of people, and how much is being paid for certain services. The company that sends me this list is preparing to adjust their rates and it will be retroactive back a few months.

The way they plan on doing it is by means of taking a credit back several months, then "re-paying" the correct rate. The main data will include the month for which the payment (or credit) is being made, the person's unique identifier, as well as the amount.

Here's a sample of what it would look like:

Name, ID, Month, Amount
John Doe, 123, 04012008, 25.00
John Doe, 123, 03012008, -20.00
John Doe, 123, 03012008, 25.00
John Doe, 123, 02012008, -20.00
John Doe, 123, 02012008, 25.00

So basically the above shows they paid $25.00 (correct rate) for April 08, then they took back $20.00 the prior two months (the old rate) and paid the correct rate right afterwards.

In what I need to do, this is going to be a lot of work. Is there a way to programatically merge the amounts given the member's unique ID as the "key field" as well as the same month? So it might look like the following:

Name, ID, Month, Amount
John Doe, 123, 04012008, 25.00
John Doe, 123, 03012008, 5.00
John Doe, 123, 02012008, 5.00

Just giving the sum of the amounts for a the given people in the same month?

I'm pretty good with VBA but this one is stumping me.

View 9 Replies View Related

Date Formatting - Combining Contents Of Two Columns

Mar 18, 2013

Date formatting. I have two columns first column is for the date (3/6/2013) and the second column is for the time (12:37:16 AM). I would like to combine the content of both columns to be like (2/11/2013 12:35:00 AM) .

I am using concatenate but I don't have any luck. How to combine the content of my two columns.

View 4 Replies View Related

Combining Values To Create 2 Digit Pair?

Jan 17, 2013

In A1
01234

In B1:k1
01 02 03 04 12 13 14 23 24 34

I am looking for a formula that will combine each digit together as a 2 digit value

Is this even posible?

The value in A1 could range from a 3 to 9 digit value.

View 3 Replies View Related

Combining 2 Cell Values - Without Losing Data

Dec 4, 2013

I have a data set that I'm trying to sort in order to be efficient for some of my team members.

Below is an example of the raw data and how I've currently got it sorted. I think my problem may be that I am trying to join a number with a string but I'm not positive.

Col A

123-45678-A-1
123-45678-A-10
123-45678-B-2

I need to eliminate the letter from the data, add a leading zero to all single digit numbers and sort ascendingly.

My first step is to split the data into columns using the "-" as a delimiter. I end up with 2 columns as shown below.

Col A
Col B
123-45678-
1
123-45678-
10
123-45678-
2

Next I add a leading zero to Col B. The assumption is there will never be more than 99 numbers, so I use the following code:

Columns("B:B").Select
Selection.NumberFormat = "00"

To produce:

Col A
Col B
123-45678-
01
123-45678-
10
123-45678-
02

Now all I need to do is rejoin these 2 columns before sorting. My current code is:

Sub Rejoin_Container_Number()
x = 1
Columns("A:A").Select
Selection.Insert Shift:=xlToRight
Do While Cells(x, 2).Value ""
Cells(x, 1).Value = Cells(x, 2).Value & Cells(x, 3).Value

[Code]...

As many have probably already guessed, this produces the following result:

Col A
123-45678-1
123-45678-10
123-45678-2

I'm looking for:

Col A
123-45678-01
123-45678-10
123-45678-02

**zeroes in BOLD for reference only, result does not need to be bold**

View 4 Replies View Related

Combining Custom Formated Date With Text In New Cell

Jul 20, 2009

For making quotes at work, I'm looking to have the quotes named automatically. The format of naming our quotes is the date (in this format) then quote name: yymmddNAME (Example for today: 090720EXCEL)

I'm using the =NOW() function for the date (Cell A1), then doing a custom format to turn the format into yymmdd then in a different cell I'm putting in the "NAME" (Cell A2) and what I want to do is combine the 2 cells (Cell A3) by doing: =A1 & A2
but when i do this, the format of the date gets messed up.

View 2 Replies View Related

Static Date Stamp: Add A Date Stamp That Will Populate A Field When Text Is Entered Into Another Cell

Jun 28, 2007

How can I add a date stamp that will populate a field when text is entered into another cell but will not change every time I re-open the sheet. I have been using =if(B4="",NOW()) which changes each time though and as soon as text is entered it disappears. I want to capture the actual date that someone enters text into a cell and save that date in another cell???

View 5 Replies View Related

Combining Some Of Rows Values Based On Multiple Criteria (2)

Apr 18, 2014

I have a table based on transport numbers who sometimes have doubles. Example:

Number Postcode Value1 Value 2...
106200 8500 10
106200 8500 5
106200 8600 6
106201 5500 4
106202 4000 1
106202 4000 1

So it works as following:

A transportnumber can have multiple instances of itself, such as 106200. This transport number can also have multiple instances where the postcode is the same. These are the rows i want to combine

So shortly:
Transportnumber double/triple...+ Postcode double/triple...= combine these rows.

if only transport number is double, or only postcode, then dont combine. I want it to combine 2 columns of values, one will b the kgs, other one a price.

So example of end result for 106200 would be
106200 8500 value+value (these 2 rows matched so it combined the 2 values i want it to)
106200 8600 value ( this was unique so it stays unique)

View 4 Replies View Related

Combining Text And Cell Values From Multiple Worksheets

Dec 1, 2013

I have the below macro which is failing to insert text into A1 of the Header Sheet, followed by the values in the designated cells that are from Sheet1. I would also like to have the values in cells J2 and K2 enclosed in single quotes.

Sub Header()
Worksheets("Header").Activate
ActiveSheet.Cells(1, 1).Select
ActiveCell.Value = "create or replace" & " '" & Sheet1.Range("J2").Cell.Value & "' " & " '" Sheet1.Range("K2").Cell.Value & "' "
End Sub

how do I get it into the nicely formatted version most of you are using? The Mr Excel HTML add-in?

View 2 Replies View Related







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