Data Val Formula Allow 6 Dig No

Nov 22, 2009

Is there a formula I can use in data validation that will only allow a six digit number and not allow other characters such as a /?

I tried =LEN(A1)

View 9 Replies


ADVERTISEMENT

Formula / Function To Collect Data From Multiple Sheets And Store Data In One Sheet?

Dec 17, 2013

- I have total of 13 sheets in a workbook - 12 sheets represent 12 months with data; 13th sheet is single sheet in which i would like to get complete overview of 12 months

- each of 12 sheets has actually sales results for multiple products with following data: internal code, manufacturer part number, name, and qty sold in that month

- situation is that some products have been phased out during the year and some were introduced so each sheet is slightly different in terms of in which row certain product is located

What i would like to achive is to make 13th sheet (whole year overview) do the following:
- there is a list of all the products in it, each product has unique internal code - this code (from each line) should be used to find that code in each monthly sheet, then find its monthly sales value (copy it) and paste it in sheet 13 in cell that represents this product and particular month.

In other words i would like to see for each product what was monthly sales throughout this year, but avoid manually filling in qty for each product per month.

View 2 Replies View Related

Formula To Separate Specific Data From Data List In Sheet1 Into Sheet2 / Sheet3

Jun 30, 2014

I have attached a sheet that has part of a data list, sheet called (Full Data) what i am trying to do is seperate the data into event locations into individual sheets.

The data ref will be column F which is the different event locations.

I thought the best way to try and do this was to create an if/ match formula using the sheet tab names as the if match, with the event locations in column F.

I have added two sheet tabs so you can see that i require the data for (Ain) to be put into the Ain sheet.

The data list in Full Data sheet will be continuously updated so i will need the range to be around 10,000 entries.

View 5 Replies View Related

Excel 2010 :: Formula To Indicate Alphabetical Data Connected To Numeric Data

Jan 8, 2014

I have a question about using conditional formatting in excel (2010); I made a table with the following columns:

"Supplier Name" "Supplier Lead Time" "Internal Lead Time" "Total Lead Time". I made two different scenarios to show different supplier lead times and different internal lead times, and used the minimum function in the "Total Lead Time" column to find the smallest total lead time to select the best supplier.

The last thing I would want to do with this set of data, is plug in a formula that would somehow indicate which supplier corresponds to the shortest total lead time (which supplier has the smallest supplier lead time). I'd like to be able to use a formula that enters the name of the supplier in a designated cell, which I could indicate as the "Preferred Supplier" cell. If this is not possible perhaps there is a way to highlight the supplier's name with conditional formatting?

View 2 Replies View Related

Excel 2007 :: Using Formula On Filtered Data - How To Select Only Visible Data

Jun 1, 2011

I have a 5000 line table I am filtering by a few columns, and I'd like to calculate an exponential trendline value.

=INDEX(LINEST(LN(R1059:R1167),W1059:W1167),1)

But I actually don't want all the values from R1059 to R1167 - I want to select only the displayed values (R1059, R1068, R1077, etc). Is there a way to select only display values to use in a formula? The problem is it would be a lot of manual work to select them all - there are 50 or so instances I would have to select 13 manual values.

I am using Excel 2007 on XP.

View 8 Replies View Related

VBA To Autofill Formula Over Column Data Calculate And Replace Original Data

Nov 14, 2008

Id like to apply a formula, any formula to an entire column if it contains data, and incorporate the original data in the calculation and then replace the original data with the result. I don't want to have to create new columns.

I'm using this to fix up database results; a common problem is dates in dot format e.g. 14.11.2008

All I have so far is an autofill formula that overwrites everything. Can someone help me with the rest? I'm using the SUBSTITUTE function to replace the dots '.' with slashes '/'

Sub Create_formula_result()

Dim Limit As Long
Dim r As range
Set r = range("A1")

r.FormulaR1C1 = _
"=IF(RC[0]"""",(SUBSTITUTE(RC[0],""."",""/"")+0) ,"""")"
Limit = ActiveSheet.UsedRange.Rows.Count
r.AutoFill Destination:=range(r, Cells(Limit, r.Column))

End Sub

View 9 Replies View Related

Macro To Move Data From Data Entry Update Master Sheet Using Formula To Allocate

May 12, 2013

I am working on a project and would like to see if there is a solution for it. i have a workbook that has data entry that is summarized at a master level but I need to automatically use a formula to update another sheet after clicking an udpate button. The data from the data entry sheet needs to be allocated to all the lines that has the same master item based on the formula. A test workbook is attached ...

View 1 Replies View Related

How To Use INDEX Formula In Conjunction With Data Validation To Output Data

Jan 9, 2014

Essentially, I would like a user to be able to select a PUB from the Data Validation drop down in row 2 of the PUB RATES sheet so that the corresponding information in the DATA sheet autofills.

Currently, this works only for the first column under each PUB when selected and this fills across all 4 columns (rather than the respective information for each column filling).

Also, the Data Validation dropdown includes blanks which I would like to exclude.

I have used a Range Name for the Data Validation of each PUB so that these can be drawn from a separate sheet as I don't want all the DATA content on the same sheet as the PUB RATES content.

View 4 Replies View Related

Formula To Move Data On Same Row And Deleting Empty Rows Between Data

Jul 17, 2014

formula to make data on same line.On converting data2 is above data 1. I insert a column on left . Need to use mouse right click shortcut delete manually shift cells left and then delete shift cells upto have both data on same line but should be in different cells and same sequence per attached ALSO TO REMOVE "/ -DASH HYPENS.

What I need is formula to move the data2 on same alignment and to delete the two empty rows between both data.

See annexed file for expected results.I have preference to have a formula much more.

View 7 Replies View Related

Formula To Convert Monthly Data To Weekly Data

May 8, 2014

I have 12 observations per variable over 2013. At the end of each month I gathered the average value of X of said month. What I want to do is convert these observations to a list of weekly observations, where each week in January gets the value of the January observation

Example:

Month123456789101112
Value 2345678910111213

And get it like:

Week Value
1 2
2 2
3 2
4 2
5 2
6 3
7 3

and so on.

Since I've got a lot of variables I'd like to use some kind of formula.

View 11 Replies View Related

Do The Formula, And If F7 Has Data To Do The Formula

May 1, 2007

=IF(E7=F7,0,IF(E7>F7,E7-F7-INT((WEEKDAY(F7,2)+E7-F7)/7),F7-E7-INT((WEEKDAY(E7,2)+F7-E7)/7))).

I have this formula in a cell. f7 is the control cell. if f7 has nothing in it i dont want to do the formula, and if f7 has data to do the formula, is this possible to do?

View 3 Replies View Related

Formula To Transfer Column Data To Another Column But Omit Cells With No Data?

Dec 12, 2013

I need a formula to automatically transfer data in a column into another column, omitting cells in the 1st column that do not have data in them.

So, for example, transfer the data in column "A" below to column "C" below omitting any blanks when the formula automatically copies data over:

Example Spreadsheet.xlsx

View 3 Replies View Related

Formula To Target Another Cell: Formula/Data In Same Cell

Oct 1, 2006

Note: I know the syntax below is not how you would enter forumlas into Excel but I am using it to quickly illustrate what I'm trying to do and need help with. A cell not in column D, E, or F contains a formula of the form: F=IF(D>0, D/E, "blank") .
Note: If a cell in column D>0 (eg. D5>0) then the cell to the right of the selected D cell (eg. E5) will also be >0 ; otherwise, both cells will be empty.

This is what I want to do: If cell D?>0 , then F?=D?/E? ; otherwise, F?=empty .

Example 1: If D5>0, then F5=D5/E5 ; otherwise F5=empty .
Example 2: If D7>0, then F7=D7/E7 ; otherwise F7=empty .
Etc. I want this to apply to all rows.

I cannot enter the formula directly into the F? cell because sometimes I will need to enter data into cell F? manually. When I need to enter data manually into F? this results in the formula being overwritten by the new data and this means that if I ever needed to have data calulated based on the formula F=IF(D>0, D/E, "blank") I would have to re-enter the formula from scratch over again; obviously this is a nusance.

View 2 Replies View Related

Formula To Add Data Every Nth Row

Mar 6, 2014

I have bunch of column Data in Column D:H

My data starts in row 5. I need a excel formula to add data every 63rd row for column D:H.

So for example for column D, i would have D5+D67+D129 and so on until D687.

View 8 Replies View Related

Formula To Sum Up Data?

Jul 5, 2012

formula to add up certain data.

In the example below, in Column A there are "T"s and "C"s. In column B there are distances.

In Column C, I need to sum the distance travelled since the last "C" on each row with a "T".

Sheet1  ABC1TypeDistanceTotal travel since last "C"2C  3T334T475C  6T227T468T289T72410T41911T52412C  13T2214T46

View 4 Replies View Related

Data From The Data Sheet Is Copied Over To The Report Sheet With Formula

Apr 11, 2007

The data from the Data sheet is copied over to the Report sheet with formula.

Basically, what I need to do is If statement:
-when there is no any data in csv file (so the Data sheet will be empty);
-the range (A7:N1000) to be hidden (on the Report Sheet)
-the Report sheet to be saved

and also...

I would like to ask, how to select from the Data sheet, the rows with Data only. I copy them over with formula instead of macro- but would like to hide all the empty rows on the report.


Option Explicit

Sub Update_Report()
'
' Macro1

Dim extract1 As String
Dim dReport As String
Dim rSheet As String
Dim dSheet As String

extract1 = "LeadSheetAll_0001.csv"
dReport = "Appointments.xls"
rSheet = "Report"
dSheet = "Data1"

Application.ScreenUpdating = False
Application.DisplayAlerts = False

View 9 Replies View Related

Subtract Some Data With Formula

Nov 15, 2012

I have travel data for hundreds of cars. Col A has the car ID number. Col B has the date. Col C has the distance of a journey. Column D, has the total distance traveled on a given date for a given car.

In Column E, I'm trying to calculate the remaining distance to travel "prior" to the journey being made.

I a have attached an example. [URL] ....

So in column E, prior to the first journey (9km) being made there is 19 km still to travel in the data. And for the second journey the is 10 km left to travel.

View 1 Replies View Related

Formula To Group And Sum Up Data?

Jul 26, 2014

I've got a table containing different codes and their values:

AAA 1
AAA 1
AAA 5
XCC 2
XCC 1
WTY 7
WTY 2
...

I'd like to group them so the code shows up just once whith its' value summed up:

AAA 7
XCC 3
WTY 9
...

See the file attached.

View 3 Replies View Related

Formula To Add Every 4th Column Data?

Dec 7, 2013

I have lots of data.What is the best way (formula) to add I10+M10+Q10+.....DY10, (Every 4th column)

View 9 Replies View Related

IF Formula For Range Of Data

Jan 12, 2014

Please refer to attached sheet.

I have number 10000 to 10200 in column D.

I need to use IF Statement and add corresponding number in Column A as follows.

IF D2 = 10000,10006,10012,10018,10024 and so on then A2=20002
IF D2 = 10002,10008,10014,10020,10026 and so on then A2=20003
IF D2 = 10004,10010,10016,10022,10028 and so on then A2=20004

(Basically there is increment of 6)

Once i have formula for A2 then i can copy down the column.

Book1.xlsx‎

View 8 Replies View Related

Formula: Ranking The Data

Sep 30, 2008

Which formula do you recommend I can use to rank the below fields in yellow. I need to find the following:

1 - Which sales advisor (their name) has got the highest MPPI conversion and place it in cell K32.

2 - Which sales advisor (their name) has got the highest HC conversion and place it in cell K34.

3 - Which sales advisor (their name) has got the highest Highest Apps conversion and place it in cell K36.

View 5 Replies View Related

Formula For Comparison Of Data

Jul 28, 2009

I have a spreadsheet and I'm comparing data from a room booking system and a spot check on the room to see whether it's actually used. I have a column which I want to show whether the information agrees.

column G - I have a group size recorded that should be in a room.
column H - I have "yes" or "no" as to whether there was anyone in the room when it was checked
column I - I have the size of the actual group in the room.

Is it possible to create a formula that will fill in column J with the answer yes or no depending on whether it agrees.

It doesn't matter whether the groups sizes match, it's just a case of yes, someone was booked into the room and there was someone in when it was checked

OR

No, there was a booking supposed to be in the room but there was no one in it when checked

OR

There was no booking but there was someone in the room when checked.

View 4 Replies View Related

Is There A Way To Use A Referenced Formula For Different Data

Aug 17, 2009

Here is a google doc of my issue: [url]

An Excel sheet is also attached.

I believe you have permissions to edit.

In H1:H4 I have 4 different functions. When the user specifies which function to use in E1 (add, subtract, multiply, or divide), I would like C1:C4 to evaluate the values in Columns A & B.

My problem is that the formula only uses the values in A1 and B1. When I copy the formula down the column, it still evaluates for the values in A1 and B1, not in A2 and B2, A3 and B3, etc...

View 14 Replies View Related

Formula To Handle Data

Jan 14, 2010

Would need your expertise to advice on how to create a formula to handle the following data in order to produce the desired output below.

I have some data in Sheet 1 and the corresponding data in Sheet2. The output is in Output Sheet.

If the data in Sheet1, "Student1" match the data in Sheet2, "Student1", then it will copy all the entries for Student1 in other worksheet with the header "Student1" (Output Sheet).

The same thing goes to other Student in the list. For this sample, I only provide a short list of data in Sheet2, it can be long, more than 5 students.

Sheet1
------------
Student1 | Student2 | Student3 | Student4 | Student5

Sheet2
------------
Student2 | Student5 | Student3 | Student4 | Student1
aaa | aaa | fff | aaa | aaa
ddd | fff | ccc | ccc | bbb
eee | ccc | ccc | ddd | ccc
ccc | ddd | ddd | eee | ddd
eee | eee | eee | bbb | eee
bbb | bbb | aaa | fff | fff..................

View 5 Replies View Related

IF Formula For Duplicate Data

Jan 22, 2010

I have a list of items which I want to return the number of sheets in stock at the end of the month which uses a lookup.

My problem is though is that products can appear on the list more than once, therefore I need an IF formula which if it’s a duplicate (other than the first instance) I need it to appear as zero.

I have attached a spreadsheet which may be clearer than above.

Your notice on the spreadsheet the same product appears in 4 difference racks however I only need it to show once the total sold and total receipted. I have shaded in grey the desired result.

View 7 Replies View Related

VBA - Formula To Transpose Data

Jan 29, 2012

I would like to transpose the data below Columns( A & B).GroupPersonAA1AA2AA3AA4BB1BB2BB3CC1CC2

To this format on Sheet2 Starting in A1.

ABCA1B1C1A2B2C2A3B3A4

View 7 Replies View Related

Formula In Raw Data For Pivot?

Jun 6, 2012

I have a question about pivots tables and formuals in the raw data. What I am trying to do is an absolute formula within the raw data, so that I do not have to do it on each individual tab and just have it in the raw data to add into the pivot.

Example: in the raw data I have columns with orders and forecast. I do an absolute formula in that raw data to get a number (lets say the number ended up being 9). Now when I create a pivot and add product, order, forecast and absolute formula it shows something much different (a higher number 35). How I can just get the number that is showing in the raw data without it creating a new number??

Overview: The formula in the raw data is showing differently in the pivot.

View 1 Replies View Related

Data Not Showing - Although Can See In Formula Bar

Jun 20, 2012

A student is in their exam and they have entered the formula correctly but the result is not showing - only showing 0.

Formula shows in formula bar.

Formula view is turned OFF.

Turning it on shows the formulka

Why cant she see the results?

View 9 Replies View Related

AutoFill Formula To Last Row Of Data

Jul 18, 2012

I have the macro to insert a formula and copy it in a range("A2:A14", but I want the end of the range in column A to be the last row with data in column B. How to add that in?

Sub vlookup()
Range("A2").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[1],'[Old.xlsx]Total Student Count Data'!R2C2:R1000C2,1,FALSE)"
Range("A2").Select
Selection.autofill Destination:=Range("A2:A14"), Type:=xlFillDefault
Range("A2:A14").Select
End Sub

View 2 Replies View Related

Using Data From Specific Tab For Formula In Different Tab?

Jan 11, 2013

I have the following formula...

=SUMPRODUCT((C:C="A CO")*(T:T="Pay Hurt")).

It shows the number of cells in column C say "A CO" AND the number of cells in column T show "Pay Hurt". I had this formula on the same tab as the data, and then a Report Tab that pulls that total number.

I only need that total number on the Report Tab but don't know how to put that formula in that tab while referencing the data from a different tab. Is there a way to have that formula in the Report Tab that references the data in the "Data" tab. My only guess would be something like

=Data!SUMPRODUCT((C:C="A CO")*(T:T="Pay Hurt"))

But this didn't work.

View 1 Replies View Related







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