Delete Gaps In Cells (postcodes)

Jul 20, 2009

I have a load of postcodes over 8 different tabs, the problem is the format of the postcode is wrong. I basically need to delete the first gap of each cell to make the postcode valid -

DL 7 9
DL 8 1
DL 8 2
DL 8 4
DL 8 5
DL 9 3
DL 9 4
DL 10 4
DL 10 5
DL 10 6
DL 10 7
DL 11 7

You see I need to have it like DL7 9, or DL10 7, but i'm not sure how, I've attached the file so you can have a look.

View 5 Replies


ADVERTISEMENT

Delete GAPS In Columns In One Go

Feb 29, 2012

I have around 2368 rows for in each column and I have around 8 columns and what I need to do is to remove any gaps. I do not know how to attach picture here, but I can explaining it in words.

A1: 0.9
A2:
A3:
A4:
A5: -0.09
A6:
A7: 0.4

Is there a way to eliminate those gaps (A2, A3, A4, A6...) in one go?

View 9 Replies View Related

Gaps In Cells When Calculating Formulas

Jan 2, 2008

I have what is probably a simple problem for most, but can't figure out what to do.

In the sample sheet attached, I have times in column E, and an action describing what has happened in column G. What I want to do is calculate the length of time between an opening action and closing one, but don't know how to go about it, as there can be an empty cell(and sometimes more) between each open and close.

View 9 Replies View Related

Count Gaps Between Values And Highlight Cells?

Jul 17, 2014

The solution can be either in VBA or conditional formatting, if possible.I have product names on column A and weeks as from column B where I have the quantity sold. So, every week I'll have an additional column.

A B C D E ...
Product Week1 Week2 Week3 Week4...

What I need:

If the cell is filled, highlight it in green.

If the gap (empty cells) between weeks is =1, highlight it in yellow

If the gap (empty cells) between weeks is >1 but <2, highlight it in orange

If the gap (empty cells) between weeks is >2, highlight it in red

The attached example better illustrates the needs : Example.xlsx‎

View 4 Replies View Related

Graph Merged Cells, Without Graphing Gaps Or Spaces

Oct 4, 2008

How can I graph merged cells, without graphing gaps or spaces of the skipped cells?

View 12 Replies View Related

Getting Postcodes From Website Using VBA

May 19, 2014

I am desperately trying to get full postcode lists from two websites: [URL] .... and [URL] ........

The latter of the two is harder to get (I'm told) so it could also be available at: [URL] .... by selecting only the "Collect+" stores.

View 2 Replies View Related

Highlighting Same Postcodes In A Spreadsheet

Feb 26, 2009

I run a delivery business & work comes in bit by bit by postcode. I thus enter the postcodes into my spreadsheet.

Then when it comes time to process the work I'm wanting to be able to do something that will highlight all postcodes that match the same colour.

I posted this query on another forum & a helpful guy gave me the code below which worked a charm, but only for a while. Since then I have slightly tweaked the spreadsheet, taken a couple of fields off & added a couple. The code now hardly works or if it does will only do one column or row & not the complete spreadsheet.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim oDn As Integer, oAc As Integer, Dn As Range, oPC, nDn As Integer, nAc As Integer, Ac, c, p
Dim Rw1 As Range, Rw2 As Range, Rw3 As Range, Rw As Integer
If Target.Address(0, 0) = "A1" Then
Set Rw1 = Range(Range("E2"), Range("e" & Rows.Count).End(xlUp))
Set Rw2 = Range(Range("G2"), Range("G" & Rows.Count).End(xlUp))
Set Rw3 = Range(Range("I2"), Range("I" & Rows.Count).End(xlUp))
Rw = WorksheetFunction.Max(Rw1.Count, Rw2.Count, Rw3.Count)
oPC = Range("E2:I" & Rw + 1)

c = 2

For oAc = 1 To UBound(oPC, 2)
For oDn = 1 To UBound(oPC, 1)
If Not oAc Mod 2 = 0 Then
If c = 25 Then c = 2
c = c + 1

View 14 Replies View Related

Have Postcodes Flag Up When Entered Or Start Clicked

Dec 16, 2009

I have a spreadsheet with many many worksheets & on each of those worksheets many many postcodes.

I am looking for a way where I can have a list of postcode stored once somewhere (in excel, word or whatever) & then when we type postcodes into the Excel spreadsheet & click whatever to start the macro or run the code it will refer to where I have the postcodes saved & then highlight any that match on the worksheet page.

View 14 Replies View Related

Grouping Postcodes In A Way That Minimizes Sum Geographical Distance Between Them

Feb 13, 2014

I have a list of postcodes. Half of them belong to girls, and half of them belong to guys. I have the distances between each postcode in a matrix. I need to put these postcodes into groups of 6, where 3 of the postcodes belong to girls and 3 to guys, in a way that minimises the sum distance between all the houses in every group. I want each group to contain houses that are as close together as possible.

View 7 Replies View Related

Filter The Column Of Postcodes Into The Postcode Defined Regions?

Jun 27, 2013

I have a list of post codes two letter starts by region. e.g.

inner london:

EC
WC
SW
W
NW
E
SE

In addition I have several very long lists of postcodes which I can obviously pull out the first two letters from using the Left function.

However I am wondering what is the best way to filter the column of postcodes into the postcode defined regions such as inner london nicely.

View 9 Replies View Related

Excel 2003 :: Array Formula - Counting Postcodes?

Dec 21, 2011

I have these postcodes as example below but the array formula I was going to use won't work because, for example when I count everything with the Birmingham post code 'B' it counts every thing that contains the letter B which could also be in the post code BA1 3RL?

Excel 2003FGHIJKL2AB11 7TFWEB3ECRAB143AB12 3NFWEB3ECRAL54AB14 0QNWEB396FECRB1295AB15 4ANWEB34ECRBA86AB15 5LRWEB34ECRBB4Sheet1 (2)

View 5 Replies View Related

Inconsistent Text Lookup - Return Postcodes From A List Of Descriptions

May 21, 2013

I'm trying to write a formula which will return postcodes from a list of descriptions which aren't consistent in their layout.

For example, I need this to happen

UB3 3NQ - APR13
SW3 5RQ - APR13
Jul 12 - apr13 accrual - ME9 4FW
Mar 12 - apr13 accural - SO14 7P2

Returned to another column as,

UB3 3NQ
SW3 5RQ
ME9 4FW
SO14 7P2

The issue I'm having is that the postcodes aren't in the same place in order to use LEFT, RIGHT or MID functions, and they aren't always proceeded or followed by dashes or spaces in the same way.

I need the returned postcodes to come back in a uniform way so that any duplicates are grouped by the relevant pivot table.

View 4 Replies View Related

Gaps In A List

May 13, 2006

I'm having a problem with a list that I've created. The list is in cell A1, the base data for the list is in the range B1:B50. The problem is that data in this range is dynamic, i.e. it has formulas and depending on the result of these formulae the cells in the range either have a value or the cell is left blank. The problem this causes is that the list ends up having gaps in it because it uses blank cells as well. And this is despite me specifcally ticking " Ignore Blank " in the Data Validation menu where I'm creating the list.

View 2 Replies View Related

Sequential Numbering With Gaps

Nov 10, 2007

I have a column in which I enter a date, and an adjacent column which automatically enters a sequential number, using ...

View 10 Replies View Related

Ranking With VBA - No Gaps Between Ranks

Feb 7, 2014

I have a problem ranking a large dataset(more than 30000 rows, 16 different columns need to be ranked). My problem is that I dont want the ranks to have gaps when there are ties.

See how it should be in table below.

Ext P$
Rank
Should be
2,128.34
1
1

[Code]...

I do have a working solution with an array formula similar to this, but it slows down my macro (30 minutes instead of 10 seconds) as I need it to calculate 16 times

Code:

=SUM(1/COUNTIF(A$2:A$35000;A$2:A$35000)*(A$2:A$35000>A2))+1

I was thinking of using a for next loop to rank sorted columns but I dont know how to set it up properly.

View 3 Replies View Related

Drag Formulas With Gaps?

Mar 13, 2014

I'm wanting to do is drag a formula down and it drop to the next cell rather than the same row number I'm on. For example I'm trying to concatenate a list of phrases whilst changing the main word. Here's an example of the excel sheet

Base Terms
Phrase
Result
car
red
van
blue
bus
red
blue

There is meant to be a space after the second red and blue enabling me to make (in order), red car, blue car, car red, car blue

How can I make it so I've done the relevant concatenate formulas for A2 with the B column and simply drag it down and Excel will switch from A2 to A3 and so on when I've dragged out the 4 formulas?

View 5 Replies View Related

Find Gaps In Sequence

Dec 31, 2008

I have a file that contains addresses in column C. I need to find any gaps in addresses.

Ex:
211 Corbin Dr
213 Corbin Drive
214 Corbin Drive
123 Apple Drive
124 Apple Dr
124 Apple Dr
127 Apple Drive

I want to identify that there is a gap between 211 Corbin and 213 Corbin and 124 and 127 Apple Drive.

Currently the address including house number are in column c. However, I split the house number into a separate column and the street address in yet another column. There are also duplicates which I have identified by using conditional formatting to highlight the duplicates.

View 9 Replies View Related

Fill In Of Text Gaps

Mar 21, 2007

I have a sheet of over 40000 rows, I attach a sample. Column a is called dam and column b is called damsire. Each dam has only one 1 damsire. Both column a and column b are sorted ascending. Unfortunately there are big gaps in column b. some of these can be filled in as we have the information e.g. b38 and b39 should be Manila..as the row 37 tells you the correct damsire. Similiarly b49 could be filled in as shernazar. I want to create a new column which contains a formula to fill in these blanks. of course some of the blanks cant be filled in as the information is not there e.g. b23 to b28.

View 3 Replies View Related

Stop Gaps In Timeline

Jul 17, 2007

how I can format this timeline better (it was a to,e;ome template created by someone smart on this forum) - so that there isn't a huge gap between 1892 and then 1977... and then so the rest of the data isn't scrunched together.

View 4 Replies View Related

Removing Gaps From Data Extraction

Nov 13, 2009

I'm doing some simple data extraction, e.g.
A B
1 bob 3
2 mandy 4
3 charlie 6
4 dave 1
5 steve 5

So I had in c1 to c5 = =if(b1 > 3, a1,"") autofilled, which works fine, but I end up with,

gap
mandy
charlie
gap
steve

how would I get,

mandy
charlie
steve

also is it possible to have an if statement in 1 cell change the value of another cell?

e.g.
in a1
if(b1>5, c1="yes",c1="no"), can't seem to get it to work

View 14 Replies View Related

How To Count Maximum Gaps In Range

Feb 1, 2012

Is there a formula to count gaps? If you see the sheet below, I want to count maximum gaps in range A1:J12 and put that count in column L.

******** ******************** ************************************************************************>Microsoft Excel - Book2___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutL12=ABCDEFGHIJKL1X XX XXX 22X X X 33 X X 64X X 85X X X X 26 X X 47 X X 48 X X 59 X X 610 1011 X X X X X 112X 9Sheet1 [HtmlMaker 2.42]

To see the formula in the cells just click on the cells hyperlink or click the Name box. DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

Align Shapes No Overlap Or Gaps

Nov 20, 2006

I am trying to get two shapes to butt up to each other. Unfortunately the shapes either leave a small gap or a slight overlay. I have tried using Ctrl + arrow key to move in small increments, but that didn't work. I have also tried adjusting the width of the rows, but the rows jump backwards or forwards to a number instead of staying with the number I entered. I want to create a seamless shape out of many different shapes.

View 6 Replies View Related

Rolling Time Formula - Possible To Fill In Gaps

Jul 30, 2014

I have attached a work sheet where I have part of a formula working.

Although what I am trying to achieve is in the example in column B.

It is possible to fill in the gaps as in column B with the task between the time frames.?

View 2 Replies View Related

Fill In Gaps - Missing Days In Range

Mar 29, 2012

I get given a csv file on a monthly basis which contains consumption data per day for the specified period. This sounds simple but on occasion (more often than not) the data has missing days. This can cause me problem later on in my analysis.

I can happily total the monthly consumption using the date and month text. What i want to do however is to sort the csv file into daily consumption and highlight the missing days i.e. have a range of the days in the month and allocate the daily data to the correct date. I currently do this manually but know that there must be a better, automated approach... searching for matching dates for example?

In my head i'm thinking the following approach but lack the coding skills to do it.

1. Define the start and end dates. Perhaps count the number of days between the two dates and autofill the start date down the appropriate number of days in column A?

2. Paste the csv file into a different sheet and, starting from the top, cut and paste the csv data to the correct date created in step 1. Do this for each row based on the csv data.

View 1 Replies View Related

Handling Gaps In Time Series Data

Dec 21, 2006

I have been browsing here off and on, and have found many excellent answers. I use Excel to process data on time series, as an adjunct to consultancy work on statistical analysis of industrial data . Usually the data has irregular gaps, e.g., daily data might have 2-10 day gaps. If I want to take, say, 7-day averages, SKIPPING OVER gaps longer than 2 days(say), is there an easy way to do this (I don't really know VBA,and it is not worth my time to try and write long code for this, which will eventually be done by some professional programmers)!

View 9 Replies View Related

Leave Gaps For Blanks & Zeros In Chart

Nov 21, 2006

Instead of treating cells with a blank or a text value as zero in a line graph, how can I create a gap in the line?

View 6 Replies View Related

Remove Gaps For Missing Values In Column Chart?

May 21, 2014

remove gaps for missing values in my column chart. I have tried to adjust series overlap and gap width, but the missing values are still showing as gaps. I have attached the sheet

View 1 Replies View Related

Text Formula? Postcodes: Seperate The First Or First Two Text Characters From The Rest Of The Postcode

Feb 16, 2007

I am working on sales information which includes postcodes. What i need to do is seperate the first or first two text characters from the rest of the postcode. I have attached a small snipet of what i am working on. Currently i am using the =Left(A4,2) but this will give me in some case a numerical value aswell. For example E1 or G1 in the case of the sample attached. Is there a formula that exists where it will just return the text values in a cell and not numerical values.

View 6 Replies View Related

Lookup Formula For Postcodes (look Up "SA1 6HU" And Return SA1)?

Jun 29, 2009

I have a list of records each with a postcode that takes either of the two formats:

SA1 6HU
N4 3HF

I also have a list of postcodes that show only the first part of postcodes

SA1
SA2
N3
N4

What formula would look up "SA1 6HU" and return SA1? while being also able to look up "N4 3HF" and return N4?

View 2 Replies View Related

Find Time Gaps Greater Than "X" Minutes.

Jan 21, 2009

I get sheets, sometimes 10 records, sometimes 1,000 records. And there is a time column. It's formatted as: hh:mm:ssam (09:12:36am). Now what I need to do is find a way to highlight any record that has a large gap between itself and the record before it. This gap amount can be variable, but for the explanation lets say, I need to highlight any record that has a gap of 5 minutes greater than the time before it.

I've tried a formula I found elsewhere:

=F3-F2> 1/24/60*5

But it just returns "#VALUE!".

I'm completely stumped, and since about last week, 1 of my daily responsibilites will be analysing anywhere from 10 - 50 sheets a day.

The guy before me would open the sheet and manually find it by literally looking from record to record. This was this 1 guy's full time job. From what I'm reading around there are ways to have excel do this for me with a simple formula and conditional formatting.

View 9 Replies View Related







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