How to Merge Date from 3 columns to 1
I have a spreadsheet where the date is spread over 3 columns I,J & K and I
wish to merge them to Column B in the format dd-mmm-yyyy as shown below.
B I J K
02-Feb-2003 02 Feb 2003
27-Mar-1999 27 Mar 1999
01-Apr-1978 Apr 1978
14-Jun-2002 14 Jun 2002
Where there is a blank for the day in 'Column I' I need it to copy as 01 and
where there is a blank for the month in 'Column J' I need it to copy as Jan.
Where all 3 column...Sorting
is it possible to use variable for sorting?
declare @sort varchar(10)
SET @sort='column1 DESC'
SELECT ROW_NUMBER() OVER (ORDER BY @sort)AS rowId, * FROM table
Is dynamic SQL only option?
On 15/04/2010 11:28, simon wrote:
> is it possible to use variable for sorting?
> Something like:
> declare @sort varchar(10)
> SET @sort='column1 DESC'
> SELECT ROW_NUMBER() OVER (ORDER BY @sort)AS rowId, * FROM table
> Is dynamic SQL only option?
You can use CASE to he...How to sort account list?
I'm using MS Money 2004 Small Business. In the account list, my accounts
are catagorized by and in this order:
- bank accounts
- credit accounts
- investment accounts
- loans and liabilities
- asset accounts
In the above view, I cannot easily determine totals for assets and
liabilities. The following view does this.
- bank accounts
- investment accounts
- asset accounts
-loans and liabilities
How do I get the above view?
I don't use Small Business. But you can run a Net Worth report to get total
assets and ...The one source for SEO Services
After using 10 different seo companies over the last 2 years for all
my sites the only one that got me the conversion rates like I wanted
was http://www.atomicsearchengineoptimization.com Atomic SEO. Really,
I thought their prices were outstanding, by that I mean expensive but
after two months of service, it was worth every dollar. Here is their
How do you think their rates compare?
...Comparing and extracting from two columns
I have two columns of data. Column A is a list of approx. 20,000 ZIP codes, column B is a selected list of approx. 1600 ZIP codes. How can I compare the two and remove all of the entries in A except those that match B. I would also like to have A sorted so that the identical entries line up with B. There may be entries in B that are not in A, so I would like A to contain a blank cell where the match would be.
I used =IF(VLOOKUP(B1,A:A,1,FALSE),"MATCH","") to highlight the matching ZIP codes in A, but that does not remove the unwanted ZIP codes or sort them...Unhiding Column A
I am using Excel 2003 SP2 and I have a spreadsheet with column A
missing. I have followed all the Help Menu advice. I can navigate to
column A and hit Format Column Unhide or Format Column Width, but to no
It is either hidden or set to zero width, but in any case, it will NOT
show up. I have searched all the group postings, been to Microsoft.com
help (yea, right) and done everything I can think of. Even installed a
macro I found to unhide columns by macro.
Any help would be most appreciated.
try selecting the cells button to the left of the column headers and on top
o...Where's the Sort by New Message option?
Not sure when the layout of the newsgroups changed but I can't seem to find the ability to sort by new message in a thread instead of sorting by just the original thread date.
That was hugely helpful as I could follow along and see what threads were still active.
If you're gonna hang around in the newsgroups (any newsgroups), you may want to
start using a newsreader.
Microsoft Outlook Express can do it for you.
Saved from a previous post:
You may want to connect to the ms newsserver directly:
If you have Outlook Express installed, try clicking on these links (or copy and
paste i...Row names will not move with sort
Each row in my summary table in Sheet1 is hyperlinked to a corresponding table in Sheet2 with additional details.
I need to move the rows in my summary table (Sheet1) and preserve the links to and from the details tables (Sheet2).
I found that I can move rows in Sheet1 with cut & insert and the hyperlinks are maintained. I can travel from a row in summary table (Sheet1) to details table (Sheet2) and back, even after the corresponding row (Sheet1) was moved.
But if I sort the rows in Sheet1 the links from Sheet2 back to corresponding rows in Sheet1 lead to presorted locations. Apparen...2pg per sheet in word
I'm using microsoft office v.X on my G4 powermac.
My question is this.......in a Word document how can I set it to print
"2 pages per sheet." My secretary has this option on her windows
version of Word.....I'm starting to fear that I'm out of luck on my mac
In article <email@example.com>,
> I'm using microsoft office v.X on my G4 powermac.
> My question is this.......in a Word document how can I set it to prin...sorts not sorting
OK- Thanks to everyones help I now i have a list i can work with... but
there are a few problems.... the zips are all 5 digit and now i have to
sort them... the problem is, THEY WONT SORT CORRECTLY!!!!!!! The
numbers are not in order... some are but a lot are not... is there
anyway to fix this???? i need to sort them by zip code but cant seem to
get them to do it correctly.. any ideas???
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/
You are going to be far better of...import- number- sort?
I imported this data into a spread sheet- I tried to format it to number,
but when I sort it- I get :
Whats up with this?
Install the TrimAll macro, select the column and invoke
the macro from Alt+F8
Directions to install and use a macro at
I expect that you have spaces or CHAR(128) "Required Blank"
characters in you data you can check is =LEN(A1)
David...Easiest way of handling multiple checks with one deposit
I am fairly new to Microsoft Money (using 2007), but it is working out very
well for me. The only thing I am currently trying to figure out is the
best/easiest way to handle things when I make a deposit with two or more
checks at once.
I am having Money sync with my bank, and any deposit (regardless of the
number of checks) is treated as a single entry.
I have seen a few references to using some sort of secondary account, but it
seems like a fairly round-about way to handle it. Are there any alternatives
Thank you for any information.
In microsoft.public.money, Matt wr...sorting macro #3
I need to sort on 8 cells in a row and on 1500+rows. I can do it one at a
time but I know there must be an easier way. Can ANYONE HELP?
C3:J3 I need these cells sorted and then down to C1532:J1532
I did create a macro to sort after I selected them but still one at a time.
Does it have to be a macro? I can edit a macro but don't really know how to
Yes, it has to be a macro. The following should do it. This macro loops
through all the entries in Column C, and in each row it sorts the values in
Columns C:J. HTH Otto
Dim rColC As Range
Dim i As...Can we sort a form and also be able to enter new records.
It is possible to sort the data on a form and also be able to enter
new and edit the existing records in it.
On Tue, 15 Jan 2008 15:41:16 -0800 (PST), Rex wrote:
> It is possible to sort the data on a form and also be able to enter
> new and edit the existing records in it.
I assume you mean "Is it".
The form sort order has nothing to do with editing or adding new
records, so the answer is yes.
If you cannot edit or add new records, make sure the form's record
source, if it is a query, is updateable. Some queries are not.
O...Auto-entering data from another sheet
Hopefully someone can help me.
I am wanting to automatically enter data from one sheet into the next
by a text prompt. For example:
On sheet 2 I will have 3 static columns that will have data entered in
the format: text / text / number respectively.
On sheet one I want to be able to enter the text from the first column
on sheet two and have excel automatically fill in 2 other cells with
the data from cell B and C from sheet 2.
Sheet 2 contains hello / how / 123 in row 1 and column A,B,C.
I enter: hello (on sheet 1 cell A) and in cell B and C I automatically
get...Sorting checking register
How do i sort my check register in Money 2004 Deluxe so
that uncleared transactions appear below cleared
transactions? In Quicken i could click on the column to
provide that sort.
In microsoft.public.money, Dean wrote:
>How do i sort my check register in Money 2004 Deluxe so
>that uncleared transactions appear below cleared
>transactions? In Quicken i could click on the column to
>provide that sort.
You don't. Available choices are chosen by clicking View at the top
of the register.
...Compressing Data in Sheet
I have a sheet with several pieces of data arranged like so:
Column 1 Column 2
a.dll ! 0x000001234 56
a.dll ! 0x000001234 64
a.dll ! 0x000001234 72
b.dll ! 0x012345689 89
c.dll ! 0x012345890 100
How do I compress the repeated sets of say a.dll into one row with all
values pertaining to a.dll in column 2 summed up so to read something
a.dll ! 0x0000001234 182
b.dll ! 0x012345689 89
If the data is sorted by column A, you could add headers (in row 1) and then use
Data|subtotals...Activate all sheets
I need help with the following macro:
I am grouping all the worksheets together, and selecting the
row, above which I wish to insert a new row.
I want to insert a new row on all sheets, the enclosed macro
at the moment is only inserting a new row on the first sheet.
Selection.AutoFill Destination:=Range("AD5:AE594"), Type:=xlFillDefault
ActiveWindow.ScrollRow = 5
Can anyone help me with this?
Sheets(Array("...using addrress books to sort incoming mail
I use address books to sort incoming mail.
An odd thing: depending on how the sender's name comes across, it doesn't
get caught by the filter (amd moved to the "Family Mail" Folder I have set
up. for example: my mom and dad's email (from firstname.lastname@example.org)
comes as from that address. However, in my contacts, they are listed by
their names: John and Mary Smith, with email@example.com as their
email address and John and Mary Smith as the display name.
What have I done wrong?
1. The big ONE - failed to post your version of Outlook. Rules operate at
...Is there a template for creating math practice sheets for add, su.
I want to create a practice sheet for specific tables (like 7's, 9's), and be
able to get new problems and have answers.
...how do i print multiple copies of a sheet of labels?
In Publisher 2007 we can set the number of copies of a label per sheet of
paper. How can I set the nuber of pieces of paper?
In other words I have a label that prints 30 to a page. How can I print 20
pages? We use this to print multiple addres labels for our booklets.
> In Publisher 2007 we can set the number of copies of a label per
> sheet of paper. How can I set the nuber of pieces of paper?
> In other words I have a label that prints 30 to a page. How can I
> print 20 pages? We use this to print multiple addres labels for our
> booklets...Unmerge so I can sort
I coy/pasted data into Excell and when I try to sort it I get "This operation
requires merged sells to be identically sized". I understadn the work around
in KB but how do I find which sells are merged?
I wouldn't bother looking.
I'd just remove all the merged cells from the range to sort.
Select that range
uncheck the merge cells box
But if you wanted to search, you can do it via process of elimination. Select a
range, format|cells|alignment tab.
If that merge cells box is checked, then the whole selection is merged. If it's
grey, t...Copying whole rows to different sheet once found
Count = 6
Sheets("Classroom Attendance This Week").Select
If ActiveCell.Value = "T" Then Return 'Exit Sub
While ActiveCell.Value <> "T"
Count = Count + 1
It's easy enough to find the first one of the (T)oddlers but I need to copy
the whole row to another sheet automatically. Plus I need to find all the "T"
in the 297 rows and preferrably copy all the rows at once without blanks
Help would be good.
Why not sort or autofi...sorting issue
When a range of columns are highlighted and a sort is performed on only one
column empty cells above the sort display first. How can this be prevented.
I know when there is data in any of the other column but not on the column
being sorted this will happen.
Are you sure the cells are really empty?
They don't contain spaces or even formulas that evaluate to "". (Even formulas
converted to values that returned "")?
> When a range of columns are highlighted and a sort is performed on only one
> column em...Sort not sorting all rows
I'm using Excel 2000. have created a document, uploaded it to google docs
and spreadsheets, exported it as a doc, converted it to a spreadsheet (excel)
and uploaded it again to google docs. It's not a complicated file - no
calculations or anything, just a simple log to enable us to collaborate on
change requests and website faults. New requests are assigned a number
incrementally one higher than the previous. So we need to sort on the Log
number column to see what the last logged number was. However, it sorts most
of the spreadsheet and leaves the same 5 rows unsorted at the...