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


ADVERTISEMENT

Text To Column - Want Columns Formated To Text

Dec 31, 2008

In Column A1:A10 I have a really long series of alpha numberic digits in each cell.

I use this macro with text to column to split them up for me into different columns.

The problem I have is that after they go through this conversion all of the fractions in columns L are turned into dates....

View 9 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

Custom Sorting A Column By Date....and Text

Jul 17, 2009

I need to custom sort a column. I have 3 different types of data in the column. First - multiple dates, Second - "TBA", and Third - "ASAP". What I need is when the column is sorted the "ASAP" rows will be first, the dates (sorted) will be next and finally the "TBA"s. I have been trying to use a custom list.

View 2 Replies View Related

Custom Formatting A Date In A Text Entry

Mar 24, 2009

I have a date in H34, 21/03/2009.

In I34 I have the same date again, except formatted as MMMM YYYY so its showing "March 2009".

In G10, I want the cell to read: Number at end of March 2009, with the month and year being taken from the date range. To be honest, I can get the year okay using the Year() function but cant get the month as cant convert it back from a numeric.

View 9 Replies View Related

Cell Formated To Show Days, Hours, Minutes, Seconds

Apr 1, 2009

I have the foollowing equation in a cell:

=NETWORKDAYS(A2,A12)+G12

My answer is 1081:23:42.

Is there a way to have it show the number of days, hours, minutes and seconds? So it will say 45:1:23:42? (45 days, 1 hour, etc...) Or something along these lines?

View 9 Replies View Related

Combining Text From One Cell So That Appears On One Line

Mar 2, 2014

File I have attached or made a link for here Untitled-2.jpg

I am trying to make that amazon cell, all text to appear as one line like the second line foreign conversion fee i want it to appear like that. Rather then having to delete and modify 100's of rows like this.

View 6 Replies View Related

Combining Fixed Text In A Single Cell

Aug 20, 2009

I have about 20 choices I'd like a user to select from and have the text output to a single cell.

Just create a Data Validation List? Yeah, but that only allows you to select ONE of the items in the list -- I want to select as few as zero and as many as all 20, combining the resulting text into a single string - space or comma delimited.

My first thought was checkboxes, but all I can seem to figure out is how to get ONE of the results into the cell, meaning I'm better off with the Data Validation List because it's easier.

Especially since I need to repeat this for as many as 200 or 300 lines,

View 11 Replies View Related

Combining Text And Cell Reference With Indirect

Oct 2, 2008

I'm trying to combine text and a cell reference using Indirect. Cell B1 contains the text "Region" (no quotation marks). In another cell I'm trying to create a reference to "Region total" (no quotation marks). By my limited understanding the below should work: =INDIRECT("b1"&" total")

But the cell returns #REF!. I've tried pretty much every combination of quotation marks around different elements of the formula I can think of. Cell B1 is a drop down list, don't imagine that's relevant, but it may be.

View 2 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

Combining Text In Several Cells Into One Cell F To Make Email Address

Mar 10, 2014

Cell A is the first name, B is a period, C is the last name, D is an "@" and E is "yahoo.com".

I want to squeeze them all together, in order, without spaces, into cell F to make an email address.

What is the formula ?

View 5 Replies View Related

Combining A Text Cell With A Number Cell

Dec 27, 2009

I am using excel 2007 and have the following information:

Cell A1: L6212- (formatted as text)

Cell B1: 05.50 (formatted as custom number 00,00)

When I merge the 2 cells using the concatenate formula I end up with

Cell C1: L6212-5.5

What I want is L6212-05.50

View 10 Replies View Related

Change Cell Format From Custom To General Or Text And Keep Cell Value

Aug 22, 2013

Is it possible to change cell format from custom to general or text and keep the cell value

I have this in formula bar: 16/08/2013 4:37:00 AM
which is displayed in the cell as: 16/08/2013 4:37

I want to change the cell format to general but display the same information.

View 2 Replies View Related

Custom Formatting Of Text & Number Cell

Mar 4, 2007

I have a cell that contains numbers and text.

example: 1-2-3-4-5-6 or 1-22-3-44-5-6.

If the the number between the dash '-' is a single digit (less than 9), I want to insert a leading zero so all 6 numbers are 2 digits.

Is this possible with custom formatting? I tried a custom for of:
00"-"00"-"00"-"00"-"00"-"00
and it is not working.

I also tried using a MID formula but it gets quite complex identifying the location of the dash - is there an easier way than the MID or LEN?

View 9 Replies View Related

Custom Format To Align Text In A Cell

Aug 21, 2013

Are there any custom formats i could use to center align a particular text in a cell if it is chosen in a dropdown validation (example: N/A)?

I would like "N/A" to be aligned in the center and all other choices aligned to the left.

View 1 Replies View Related

Custom Cell Format - Number Ending With Text String

Jun 13, 2013

How to modify a custom cell format to make data entry easier.

My goal is to have the output look like this: 'A12B-C20D: SET 10: Text string here'

Inputs needed are:

1-3 digit number between A & B
1-3 digit number between C & D
1-2 digit number after SET
Text string of variable length

Where I am stuck. So far I can get "A12B-C20D: SET 10:" to show up properly when 122010 is input. The custom format I am using looks like this: "A"##"B-C"##"D: SET "##": "

When I try to incorporate the "@" symbol the first part of the formatting goes away and the output shows up as "122010 Text string here".

I have tried:
"A"###"B-C"###"D: SET "##":";;-;_@
"A"###"B-C"###"D: SET "##": ";;@
"A"###"B-C"###"D: SET "##":";_@
"A"###"B-C"###"D: SET "##": ";;;@

View 4 Replies View Related

Automatically Add Formated Row After Last Row

Jan 9, 2008

I am trying to do is have an additional row, or rows entered after after the last available row is filled. I've written a macro that searches for the last data set in a column, and will then copy the row above and insert, then copy the formating and formulas down, but I can only make this work by having the user click on a control button.

I would like to make this macro work automatically when data is enterted into the last row in the quote form. Below is what my current macro looks like:


Sub AddLine()

With ActiveSheet
. Unprotect Password:="*********"
ActiveSheet. Range("m17").End(xlDown).Select
ActiveCell.Offset(1, 0).Select
Selection.EntireRow.Insert
ActiveCell.FillDown
ActiveCell.Offset(-1, 0).Select
Selection.EntireRow.Select
Selection.Copy
ActiveCell.Offset(1, 0).Select
Selection.EntireRow.Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
ActiveCell.Offset(1, 0).Select
.Protect Password:="*********"
End With
End Sub

View 9 Replies View Related

Using Formated Number In Formula

Jul 29, 2009

i need to use a cell which has the value 00:30:00 (formated as hh:mm:ss) displayed as 0.020833333 (formated as general)

what i need to do is use the 0.020833333 for a calculation.

now the problem is that i have 00:30:00 as input.

that means the user is inserting 00:30:00 in a cell. i need to convert this to 0.020833333 and use it in a formula

the conversion itself is easy. (just change formating of the cell)

i tried using it like this:
A1: 00:30:00
somenumber<(TEXT($A$1;"##.#########"))
but that gives me strange numbers

and what i need is this:
somenumber<0.020833333)

View 9 Replies View Related

Excel 2010 :: How To Make Concatenate To Generate A Text String Using Custom Formatted Value Of A Cell

May 2, 2014

I have an Excel 2010 spreadsheet that I am using to save several numbers all in the same column. These numbers can range from the several thousands up to billions. The formatting I am using for these numbers is Number (using 1000s separator).

number_forma.png

I am also using the spreadsheet to generate a text string for each of the numbers. I don't want the text string to show the number as it is, I want to shorten the number by only showing the first few digits followed by a "B" for billion, "M" for million, or "K" for thousand. For example, in the text string I want to show 1,600,000 as 1.6B.

In order to shorten the number I use the cell in the column to the right of each number. This cell uses the following custom formatting (which I found by doing a Google search): [>999999999.999]#.0,,,"B";[>999999.999]#,,"M";#,"K";

custom_format.png

As you can see the formatting is quite complex (at least for me it is) but it does what I want it to do.

Here is a screenshot of what the original and custom formatted cells look like:

custom_formatted_cells.png

As you can see the custom formatting works and does exactly what I wan

The next column (after the custom formatted number) is where I put the generated text string for each of the numbers. As I stated above, I want the generated text to use the shortened version of the number (e.g. 1.6B).

To generate the text I use the CONCATENATE function with a reference to the cell containing the shortened number as one of the arguments. For example:

CONCATENATE("SOME STRING ", B1)

Where B1 is the custom formatted cell.

The problem I am running into is, the text that gets generated doesn't show the shortened format of the number, it shows the full number. Here is a screenshot demonstrating what is happening:

concatenate_formula.png

As you can see the generated text is "SOME STRING 1600000000". This is not what I want. I want the generated text to be "SOME STRING 1.6B".

I think I understand what's going on. When the CONCATENATE function references a cell it takes the actual value of the cell and ignores any formatting. (I suppose formatting is just the way you see the data, not how underlying functions receive the data.)

My question is, how can I re-write the CONCATENATE function (or use another function, etc. available to me) to use the formatted version of the cell?

*UPDATE* I have attached my spreadsheet as an attachment to this post (tackyjan_excelforums.xlsx). Please note that it was created and saved using Excel 2010.

View 8 Replies View Related

CONCATENATE Cells Formated As Fractions

Apr 26, 2006

I want to concatenate several cells, some of which are formated as fractions,
and have it display those numbers as a fraction. When I perform the
function, it displays the cell in its decimal form.

Example:
=CONCATENATE(E2," ( ",F2," in. "," ",G2," ",H2," in. ", I2," ",J2," in."," )
"," color #")

Where: F2, H2 and J2 are fractions.

Result: 12" Stretcher ( 11.625 in. x 23.625 in. x 3.625 in. ) color #

View 12 Replies View Related

Excel 2013 :: Extract Date And Time Info From A Text Cell That Contains Text And Date And Time

Jul 19, 2014

I am using Excel 2013. Anyway, the first issue is that I need to pull a date and a time period from text. So, for example, if I see something like Sunday Prime Time 7/6/14 8:37PM, I would want to pull ONLY the "7/6/14 8:37PM" out of it. Each text box could potentially be different, so it might not always be in the same format as "Sunday Prime Time 7/6/14 8:37PM" it might only show just the date and/or the time without all the extra text i.e. 7/6/14 8:37PM. Some of the cells will have text, others might only have just the time or even just the date and the time. The only thing that I am worrying about in each cell is extracting just the date and time. If this is too much to ask of excel, I would be ok with extracting ONLY the time - 8:37PM and not the date, but I would much rather be able to get both the time and date.

THEN, onto part two of my question. After I would pull the dates and times, I need to compare them with each other. So, when I have the same date with two separate times on that date, I need to write a formula to show if those times on that date are less than 30 minutes apart. So, if I have 6 times on 7/6/14, I need to know if any of them are less than 30 minutes apart.

I would need to have the formula say something like "Problem" if the times on 7/6/14 would be 5:30PM, 5:48PM, 7:00PM, 8:00PM, 8:15PM, and 9:00Pm for example. I would like to see the word "Problem" since 5:30PM and 5:48Pm is only 18 minutes apart, and "Problem" after 8:15PM since that is only 15 minutes past the 8:00PM which is obviously under 30 minutes. The times that are more than 30 minutes apart such as 7:00PM and 9:00PM for example are more than 30 minutes apart from any of the other times that were extracted.

View 7 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 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 Text And Numbers?

May 7, 2014

I have the correct formula but the formula is not converting over.

54Morningside Dr=F287&" "&G287

I am trying to combine 54 and Morning side Dr to one cell.

View 13 Replies View Related

Combining Rows Containing Text

Mar 26, 2008

I have 2 spreadsheets with a total of 100,000 rows of item descriptions. The problem is that I have to combine the text in the rows to create a complete item description into one cell. The number of rows for each description varies from 1 row to 7 rows. Excel experts here are using the term "concatinate."

There is one common element to the item description. There is a unique 11 digit code (in its own separate column) in the appropriate number of rows for each description. Note that the unique # I identified below doesn't look right since this document does not allow me to show the numbers in a column.

The spreadsheet looks like the following (I have created 2 item descriptions). I have at least 40,000 more.

PAD, EASEL, 27" X 34", ERASABLE, STATIC 61562030632
IMAGES, 34 SHEETS/PAD 61562030632
AVERY #24-391 OR EQUAL 61562030632
PAD, WRITING, 8.5 X 11.75, LEGAL RULE, 61562030940
PERFORATED 61562030940
AMPAD 20-___ 61562030940
RMOD FOR COLOR AND TO COMPLETE CATALOG 61562030940
NUMBER 61562030940

I could use a formula or a macro that would combine the descriptions into one cell. One other problem was identified as I tried to combine the text. There has to be a space created after the last letter of each row, otherwise, the last word in the row combines with the first word of the next row.

View 10 Replies View Related

Combining Text From Two Cells

Apr 29, 2009

I have two columns, Brief Descriptions and Detailed Descriptions. In many cases they are different and I combine the two for one longer description; however in certain instances the two columns read the same. Is there was way to combine the two cells where any repeat text is only expressed once?

View 3 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 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 View Related

Format Date In Cell To Custom Format?

Feb 21, 2014

I have a column in excel which gets populated in the format "2/1/1980" when copied from a different source. I want a macro to run on this column and convert this in the below format. Required format: '02-01-80 (note the ' symbol before 02 which will keep it as text)

Existing ----> Required
2/1/1980 --> '02-01-80
2/1/1970 --> '02-01-70
2/1/1983 --> '02-01-83

I need this macro to run on two columns and replace them with the required format. I can do a find and replace either in the sheet or through hard coding the VBA, but as the date format keeps growing, I would need to do this via code and hence requesting the same.

View 4 Replies View Related

Combining Text From Comment Boxes

Apr 25, 2013

I am trying to combine the text from the comments boxes of a full row of cells into the comments box of a separate other cell in order to provide an overview of the comments in these cells in one place.

View 2 Replies View Related







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