Allow Entry In Only One Cell Of A Range

Jun 29, 2007

I have created a very simple form. I want the user of my spreadsheet to fill in 1 cell in each section of the form, but they will have a choice of a couple of cells to fill in. For example, they can fill in one cell with the temperature in Fahrenheit or another cell with the temperature in Celsius. I want Excel to stop the user from putting data in more than one cell. (This way they can't put in a value for both boxes, which could confound their outcome.)

View 5 Replies


ADVERTISEMENT

Using Cell Entry To Complete A Range

Sep 24, 2007

I have a formula that calculates the number of rows in a spreadsheet. I would like the results of that formula to complete a range description. For instance, if the range would be expressed as A1:A20 (for a file with 20 rows), and the result of the formula (the cell enty) for a different file is 35, I would want the range to be expressed as A1:Ax, where x is equivalent to the result of the formula (effectively A1:A35, but expressed with a reference to the cell with "35" in it, not the 35 itself).

View 9 Replies View Related

How To Ensure Cell Entry In A Range Is Always Unique

Jun 18, 2013

I have a range B1:B20. These cells are populated by the user and I want to ensure that no two entries are the same. Is there a way of presenting a dialog box that prompts the user to enter a different value if the value they are trying to enter is already entered somewhere in the range?

View 5 Replies View Related

Getting Entry In One Cell To Cause Entry In Another Based On Entry In 3rd

Mar 20, 2014

I have a percentage in R3.

If I make an entry in D13 then I want the R3 to be duplicated into C27 otherwise C27 should be 0.

View 4 Replies View Related

VBA If Range Value = Something AND Another Cell Has No Entry- Prompt The User To Enter Data- My Code Is Not Working

Apr 20, 2009

I am trying to display a message box for the user if there is "agency" in cell o8 but nothing in p8... I tried the following code but it doesnt work..


If Range("o8").Value = "Agency" And Range("p8").Value = "" Then

MsgBox "Please provide name of agency in cell p8"

Sheet9.Shapes("cross").Visible = True

Else

View 9 Replies View Related

Single Cell Entry To Multi Cell Entry

Jul 7, 2009

i have an address that is all in one cell displayed like

101 hampton Court, Hampton heath, Hampton Town, Hamptonshire, HA01 1AS

but i need to have it split in to individual cells so

Cell A1 would be 101 hampton court
B2 Hampton Heath
C2 Hampton Town
D3 Hamptonshire
E5 HA01 1AS

each part of the address is split by a comma, so i have tried to use that as a identifier as to where that part of the address is, but failed on that, i can separate out the first part and the post code with a find and replace but not the middle.

also i need it to work backwards ie

it finds the post code first,

then the county

then the town

as those 3 are always the last 3 parts, but the address could only have 1 line of addres beofre the town or 3, and it would get messed up as all the post codes, county ans town needs to be in their respective columns

View 9 Replies View Related

Selecting Range From Active Cell To Last Entry In Same Row As Active Cell

Jun 8, 2014

I have got stuck on one piece of my code and having trouble fixing... Overall I am trying to find variable station name in cell L2 of Sheet 2 in Sheet 1 and then select and copy the data from the data in "cell L2 of Sheet 2" to the last entry of that row. I have attached an example test spreadsheet of the data and a macro is within Sheet 1 called test1. Please note that cell L2 in Sheet 2 will always be different station name and the station list in Sheet 1 will change with differing station name.

The code I am using is:

[Code] .....

The code that is not working and bringing up an error is:

[Code] .....

Attached File : Copy of Testexample.xlsm‎

View 2 Replies View Related

Find Last Entry In A Range

Sep 28, 2006

Example. I have a range of information on sheet 2 in cells A1:A25 that contains values that are text. Another range in B1:B25 that has numerical values. I would like to link the last value entered from those ranges to cell A1 & B1 on Sheet 1. Is there a formula option to do this?

View 5 Replies View Related

VBA - To Border Cells With Entry In A Given Range

Feb 28, 2007

Using VBA how could I put a border around any cell that isn't empty within the range B1:C500. (Worksheet name - Floc BOM)

View 9 Replies View Related

Dynamic Range Not Extending To Last Entry

Nov 24, 2009

I'm having a problem with a dynamic range. I've re-checked my formula at least 10X and its syntax is correct. The problem is the dynamic range stops short 3 rows up from the last entry.

View 9 Replies View Related

Add TextBox Entry To ComboBox Range

Oct 11, 2006

I have a user form that has a combobox, two textboxes, and a button on it. When the form is loaded, the combobox fills with data from a worksheet I created. THe worksheet has a column with the item names, and another column with the quanity of each item. The combobox is filled with the item names. SO far I have this done. My issue is that when the user selects an item from the combobox, and enters a quantity in to the first textbox, and then clicks the button, I want the quantity in the textbox to add to the quantity cell that the part number from the combobox references to. Then I want this new quantity to show in the cell and the second textbox.

View 3 Replies View Related

Stop Blanks In Entry Range

Nov 1, 2006

I have created a worksheet with different validation rules for different columns for users to enter data. Is there a way I can make it so each cell must be filled in? I don't want any blank cells. Is it possible to create some so that the user must fill in the cell before moving on to the next cell.

View 9 Replies View Related

Plotting Range Of Numbers As One Entry (min And Max Standards)

May 23, 2014

I want to plot a graph where our customers can compare their results against our standards. (line graph) This has been easy in the past but rather than just having a single value as the standard we now a range for each standard a minimum value and a maximum value. How can i get both the minimum value and the maximum value plotted on the chart? This would be two lines with the area between the standards shaded in. The customers could then plot their results to compare against our standards?

View 1 Replies View Related

ComboBox Add Entry To Named Range If Not In List

Feb 4, 2014

I am trying to work up a referral tracker for my wife's employer. I have Named Ranges on sheet 2, a running log on sheet 1. I also have a userform that is being populated from the ranges on sheet 2. I have the project mostly functional, except for a feature I would like to add in. I am interested in adding to the named range that is being accessed if the entry is not in list, via the combobox1 on the userform. Also, if possible, I would like the list to re-sort behind the scenes so the added entry is properly located in A-Z format for next time. After searching the web a bit, I found some code that might work with some tinkering, but currently I am having issues with it. Here is the bit I am trying to use.

[Code] ....

I have been getting 424 Object Errors and a few others as I continue to mess with this. I am also attaching the project if someone may see a better way of getting the task accomplished. The overall scope of this is to log all referral sources so monthly and yearly reports could be made.

Attached File : Copy of Referal Tracker.xlsm‎

View 3 Replies View Related

Writing Values To Range - First Entry Repeated

Jan 2, 2009

writing values to range - first entry repeated
I'm having trouble with this set of commands

View 4 Replies View Related

Excel 2010 :: How To Pick Last Entry In Range

Mar 19, 2013

I have to report Actual Headcount every month. Since I cannot add the Headcount numbers in the FY Column. What is the best possible forumula I can use to pick the last month's reported numbers into the FY Column.

For example.

I have 13 columns (A - M). Jan - Dec and the 13th column is the FY number.

This month, I am reporting March numbers in Column C

Column D through N (Apr through Dec) are emplty

I need Column N (FY number) to read Column C and enter the value from that cell.

similarly when I report April numbers in Column D next month, I want Column N to read April numbers and ignore the prior months.

I tried using the min/max function but since h/c fluctuate every month I could not use that. I could use an "if" statement and go back every column but that seems to be inefficient way to solving for this. Any thoughts?

BTW, I am using Excel 2010

View 4 Replies View Related

Copy Named Range To Row Beneath Last Entry In Another

Feb 15, 2009

I have a number of named ranges on seperate sheets. As I add more entries to each sheet, the named range is naturally increasing so I dont have a fixed cell refence
Effectively what I would like to know is - is there coding that would allow me to copy one named range - and paste the values to the the row beneath the last entry in a second named range. Filtering these I can do - it is just the copying that has me stumped

View 3 Replies View Related

Check If Any Entry In List Older Than 7 Days - Delete Second Double Entry?

Sep 11, 2013

I am having a sheet where I keep track of when online surveys have been sent to users. The users enail address (column K) may be on the list for several times, but I need to make sure that there is at least a 7 days pause between sending the first mail and the second, depending on the visit date (column G).If there are less than 7 days between two entries with the same email address, the user is not qualified for taking another survey.

I was thinking to write an IF formula which returns either 1 or 0 and then let conditional formatting highlight and HIDE the row via a VBA loop.

View 3 Replies View Related

Formula To Look For A Number Entry On One Worksheet And Return Another Fixed Entry?

Mar 14, 2014

Is there a formula that will allow me to look for the existence of any number value in a row of one worksheet and then return a specific number value in a cell on another worksheet? For example, if the formula finds any number value it will always return the number 15 to a cell on another worksheet.

View 3 Replies View Related

Tranferring Variable Entry From Form Entry To Macro

May 1, 2009

I used a form with textboxes for data input for one of my vb macros. Currently I have the private sub from the form transfer those entries to a remote cell on the spreadsheet, (like in column "HZ"), so that the macro that will actually utilize them can retrieve them. Is there a way to pass that data directly from what is entered in the form in the textboxes to the macro that will actually use them?

View 4 Replies View Related

Expand A Cell Formula Based On The Entry Of Several Other Cell Entries

Jul 6, 2014

=IF(E14<=0,0,IF(N9="yes",MAX(E15*C15,30),30))

I am currently using the above formula and need to make an addition to it.

If D8 is greater than 9000 and less than 9999 then the entry will be 35 rather than 30. Any other entry in D8 would leave it at 30

View 5 Replies View Related

Deleting Cell Content Based On Entry In One Cell?

Mar 22, 2014

I have a sheet that I fill out with customer data then print and start over with the next customer. This requires me to tab and delete through the sheet before starting the next entry and I am wondering if there is some way to auto clear the unlocked cells based on a single entry IE when we entered new data in the 1st field this would clear the unlocked cells and make them ready for new data?

View 14 Replies View Related

Deny Cell Entry If Cell Exceeds 5 Entries

Jun 19, 2007

i have managed to pull together some code that will deny people adding data into cells if they have 5 of the same entry. the entries are entered in a range and are matched against a single cell outside of the range. heres the

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim greycell As Range, i As Long
If Not Intersect(Target, Me.[grey]) Is Nothing Then
Application.EnableEvents = False
For Each greycell In Target
If WorksheetFunction. CountIf(Me.[grey], greycell.Value) > 5 Then
i = greycell.Interior.ColorIndex
greycell.Interior.ColorIndex = 3 'red
greycell.Select
MsgBox "no cell entry past 5", vbCritical, "ERROR"
greycell.ClearContents: greycell.Interior.ColorIndex = i
End If
Next
Application.EnableEvents = True
End If
End Sub

what i need with is adapting this code to match two ranges as i cant use the worksheet_change event twice. i need it to be as if they were seperate events but are merged together. eg:.............

View 3 Replies View Related

Restrict Cell Entry To Numbers Based On Another Cell

Mar 13, 2008

I am trying to do with data validation, trying to stay away from vba on this... and it is probably very simple:

Cell A1, they can select Rice, Cheese, or Rabbit
I want to use custom data validation on B1, so that if A1 = Rabbit, they can only enter 1. If it is blank or the other two choices, they can enter 1 through 10.

Can I do that with data validation? I can't get any if thens to work in it.

View 3 Replies View Related

Allow Entry Into Cell D4 Or E4 NOT Both?

Dec 30, 2008

When users enter data, I want them to enter a percentage into column D OR a dollar amount into column E, or enter nothing at all, but NEVER to enter into both D and E on the same row. They are set to zero by default.

It would be great if a message box could just pop up saying they can do one or the other, and if they've already entered into the other cell they need to zero it out before changing this cell.

View 9 Replies View Related

Unlock Cell/s Dependant Upon Entry In Another Cell

Jan 3, 2010

I've never dealt with vba before and I'm not even sure if that's correct. I wish to lock a worksheet with two cells left unlocked, when an entry is made in one or other of these two cells I need other cells to become unlocked.

View 2 Replies View Related

Cell Entry As Part Of A Cell Reference

Dec 4, 2008

Let me try to explain.

I know that I can do this to fetch a cell entry from an external workbook

View 5 Replies View Related

Prevent Cell Entry Based On Another Cell

Oct 22, 2013

If A1 = "Yes"

Then don't allow input into cells B1 and C1. Or delete anything in B1 and C1 perhaps?

Cell A1 would be the result of a formula

How would I go about creating something like the above?

View 2 Replies View Related

Restrict Cell Entry Based On Another Cell

Sep 18, 2007

I am looking for a forumla, which I think will be an If forumla, to allow/block entry into a cell depending on what is entered in another cell.

So if "Yes" is entered into cell 1, I want cell 2 to show "N/A", and if "No" is entered in cell 1 I want the user to be able to enter data into cell 2.

View 3 Replies View Related

Auto Copy Template On Record Entry & Link Set Cells Back New Record Entry Sheet

May 26, 2009

I am looking to create a macro that will create a new sheet when data is added on a summary sheet. Example.

1. Summary sheet called "Variations" contains columns that will contain the information needed for new sheet (Columns A to D)

2. When data is entered on "Variations" sheet: Column B, then macro automatically creates new sheet renamed to e.g. VO1 (Number used on "Variations" tab) and is a copy of "Master" tab.

3. Data entered in Column A to D on "Variations" tab is automatically entered onto new sheet created (e.g VO1). Shown is blue on attached file. Additional data is updated on "VO1" sheet and this then links back to "Variations" tab

View 6 Replies View Related







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