Cell Replicates Another Cell For No Apparent Reason?

Sep 18, 2013

I've found a cell that replicates another cell on the same sheet. If any number or text is entered, its replicated as text, but if I enter a formula in the cell, the cell works normally. There's no conditional formatting, no links, no macro, no nothing that I can see, yet it happens.

View 8 Replies


ADVERTISEMENT

Formula - Different Apparent Result

Jun 22, 2007

I have a workbook consisting of 4 worksheets. Cell B5 in each of three of these sheets has the exact same formula (copy/pasted) referring to data in the other worksheet. In one of the three similar sheets cell B5 shows up as a blank. In the other two, this cell shows up as a zero.
Since the formula in each of these cells is identical, I figured the difference in the way the result showed up was a matter of cell formatting.

The cell format for each of the three is indicated as ‘general’. However, with one of these, the ‘sample’ shown when you view the cell format shows as a blank while the other two show the ‘sample’ as a zero (0). How can I go about making all three cells appear the same, namely a blank?

View 9 Replies View Related

Creating Macro Which Replicates Excel Formula

Apr 1, 2014

I have created the following excel attached which gives me the results I require,

However I am wondering is there any possibility I can get the results produced via VBA as it takes to long to calculate with formulas

View 1 Replies View Related

UDF: #REF For No Reason

Jun 15, 2009

This is something that's been bugging me for the last few hours.

I've written a fairly simple VBA

View 9 Replies View Related

Code Gets Skipped Without Reason

Apr 21, 2007

I'm currently trying to put together a rather large application to automate a release procedure.
Somewhere in a procedure I have the following
'previous code...
WS.Columns(8).Select
Selection.Copy
WS.Columns(1).Select
Selection.Insert Shift:=xlToRight
WS.Columns(1).NumberFormat = "General"
End Sub

The WS is defined in the beginning of that sub as follows:
Dim WS As Worksheet 'iSpares sheet
Set WS = Workbooks(FrmReleaseFlow.Caption).Worksheets("iSpares")

whereas the FrmReleaseFlow is a userform, active at that time, the caption contains the filename currently working on (in NAME.XLS format, no path), the file is open and the sheet iSpares exists...

The problem is that the code in above procedure gets executed to just that line and then the sub exits and the program continues in the sub right after this sub was called...

The weird thing is, if I set a breakpoint on the line WS.Columns(8).Select, then the execution halts there. If I then continue, the other lines are not executed. Breakpoint on the other four lines are never seen...
So the problem lies within that line WS.Columns(8).Select ...
If I execute this command in the Immediate window, while the code is halted on a breakpoint, it does work as it should...

View 9 Replies View Related

Calculating Cells For No Reason

Oct 21, 2008

If I enter anything in a cell on one work book I get calculating cell for about 3-5 seconds.

I don't have any formulas looking at the book. and I have deleted, renames, copy and pasted, exported to text and reimported and still it does it.

The thing that is odd though is that if I press return again it clears the calulation cells message.

View 9 Replies View Related

Msgbox Returning For Unknown Reason

Mar 17, 2007

I have a macro that uses user input to locate a file. If no file is found matching the user input, a message box displays informing the user. However, if a file is found that matches the user input, the file should simply open. If a file is found, the macro successfully opens the file however it will still display the message box saying no file is found. Since the message box is triggered by an error, there must be another error I haven't accounted for in my code.

Private Sub CommandButton1_Click()
Private Sub CrmFrm1_Click()
If Len(TextBox1) <> 12 Then
MsgBox "Incorrect Case File Number"
FrmNew.TextBox1.SetFocus
Exit Sub
End If
Dim MyCase
MyCase = Dir("S:AccountingProbationTest Files" & FrmNew.TextBox1.Value)
On Error Goto ErrorHandler
Workbooks.Open Filename:="S:AccountingProbationTest Files" & FrmNew.TextBox1.Value
Unload Me
ErrorHandler:
MsgBox "No file found for this Case Number." & Chr(13) & "Please proceed to Template.", 0, "No File Found"
Unload Me
Exit Sub
End Sub

View 2 Replies View Related

Macro Hides Userform Without A Reason

Mar 25, 2007

to ensure the user ends up looking at UserForm5 after having closed the UserForm2 with the x sign.

It works just great - the user gets logged on and can use the UserForm2 but when he/she closes the form with the cross and tries to lo on aner using the UserForm5 - which pops up autmatically due to the above code, both of the UserForms get cloed (or hidden).



Private Sub CommandButton1_Click()

Dim popup As Variant

If ExecuteExcel4Macro("'D:[target.xls]Trg Info'!R1C255") _
= UserForm5.TextBox2.Value And ExecuteExcel4Macro("'D:[target.xls]Trg Info'!R1C256") _
= UserForm5.TextBox3.Value Then

With UserForm5

.TextBox2.Value = ""
.TextBox3.Value = ""
.Hide

End With

UserForm2.Show

With UserForm2 .....................

View 9 Replies View Related

Reason For -- (Double Negative) In Formulas

Jul 2, 2008

I have come across this only a couple times and have tried in vain to find out what the "--" does in formulas

one example I have run accross in the forums is below

= SUMPRODUCT(--(ISNUMBER( FIND("SMS",A1))))

Also, is there a good refrence source for formulas like this?

View 3 Replies View Related

ActiveX Control Button Changes Size For No Reason

Feb 18, 2014

I have created several macros where i use an active-X control button. This button is pressed and the macro begins...........but every now and again this button changes size for no apparent reason.

I have read countless articles/posts about what "may" be causing the problem but i have never read anything which clearly identifies the soln to this problem and the problem has been out there for years. To make matters worse the problem can not be duplicated on any regular frequency that i am aware of............so its not like i can post a file that will show the problem.............

View 4 Replies View Related

Loop Skipping Random Rows For No Reason At All

Apr 15, 2009

My sub is supposed to take the values from Sheet1 and paste them into 16x10 tables on Sheet2. However, for some odd reason, the loop is skipping some rows. If you take a look, there are 2184 values in Sheet1, but only 1368 end up in Sheet2...SKUs such as 518166,518167,510573,513746,513752 are just being skipped for no reason.

View 2 Replies View Related

Count Reason Codes By Current Month

Sep 23, 2013

A
B
C
D
E
F
G

740048
08/29/13
08/30/13

202

[code]....

I would like to have the count of column E. I would like to sepperate current month and year to date using column C. I would like it to reflect it in the below chart.

M
Code
N
Year to Date Date
O
Month to Date

105
1

202
5
4

402
1

View 3 Replies View Related

Reason For Double Negative Signs In Formula

Sep 19, 2007

I've just seen a formula with two - (minus) signs right next to each other placed before a section in a formula while reading possible answers to my post. Here is the link: Understanding this formula. I've seen it before and am intrigued as to why it is there and what it actually does. Assume it is used such: = --(1+2). Would the answer then not be =--3 = 3?

View 4 Replies View Related

Add Overtime Hours Bases On Reason Code And Whether Cash Or Time

May 31, 2013

How can I total overtime based on a "Reason Code" and whether the employee chose "Cash" or "Time" compensation?

View 2 Replies View Related

Formatting Sheet- Can't Get Html Or The Image Tags To Work For Some Reason

May 4, 2007

This is going to be difficult to explain, but I'll try... I need to be able to format a sheet that has all data in column format. Column A contains a number and B an application. C contains the issue data. I need the issue data to be moved under column A and B as illustrated below. What formula can I do to accomplish this?

Original:

Final:

Can't get html or the image tags to work for some reason.

View 9 Replies View Related

Excel 2003 :: How To Create / Run Cell A Equals Cell B Put Cell C Info In Cell D

Jan 26, 2006

I need to match data in cell A to cell B and then if they equal I need to copy the adjacent cell C to cell X . How do I set up a macro to do this automatically? I have over 5000 cells to compare and match up.. I have Office 2003.

View 7 Replies View Related

Autoupdate Cell Comment Based On Cell Input / Dynamic Cell Comments?

Aug 16, 2013

I'm wondering if it is at all possible to have a cell comment automatically update depending on what data is input in the cell (via user input, VLOOKUP, etc.)?

For example, if cell A1 contains the text "CHARLES" with a comment saying "Employee of the Month", and is then subsequently updated with the new text "JOHN" (again, via direct input, a VLOOKUP, data validation, etc.) is there a way to have the comment automatically update to say something else, such as "Team Lead" for example?

I've considered using VBA to accomplish my goal, but am unsure how to compose an effective code to do so. I've also considered perhaps creating a named table filled with all the different comment possibilities I would like to have used in this cell and then inputting a formula in either cell A1, or the comment contained therein, that would then call the corresponding text from that table based on the data in cell A1. Honestly, I'm not sure that what I'm trying to do is even possible;

View 4 Replies View Related

How To Match A Cell Data With A Range Of Cells And Return Cell Reference In Another Cell

Dec 12, 2012

i want to match a cell data with a range of cells and if matches return the cell reference in another cell

View 3 Replies View Related

Excel 2010 :: When Cell Selected Can't Use Arrows To Move To Another Cell While Pointer Is Over The Cell

Apr 18, 2013

When I use the mouse pointer to select a cell I can't use the arrow keys to move to another cell while the pointer is over the cell and I can't edit the cell while the pointer is over the cell. If I move the pointer away from the cell then I can move around and edit as normal therefore I don't think this is a scroll lock issue.

This issue also happens when I select a tab. If I select a tab and then leave the pointer over the tab I selected then I can't use the arrow keys to move around the worksheet or edit a cell; if I move the pointer away from the cell then I can move around and edit as normal.

I am using MS Excel 2010.

View 1 Replies View Related

Adding A Date To One Cell Will Insert Close In Another Cell And Add Color To That Cell?

May 6, 2013

I would like to add a date to one cell (say A6) and have this do two things:

#1) this would add "Closed" to a given cell such a A5.

#2) and this would add a color to a group of cells like A1 through A8.

View 4 Replies View Related

Cell Formatting - Red Text If Cell Matches Certain Condition Based On Another Cell

Sep 24, 2013

I have one column that contains a monetary amount (column AQ) , and another that contains text reading either "inflows" or "outflows" (column AC)

When AC says "inflows", AQ should be positive, and when AC says "Outflows", AQ should be negative.

I need the text in column AQ (the monetary amount) to become red when the the opposite is true.

i.e. When AQ is negative and AC says "Inflows", AQ should become red. And when AQ is positive and AC says "Outflows", AQ should become red.

View 2 Replies View Related

Look At Data From One Cell Reference Another Cell Then Display The Results From The Cell Next To It

Jun 19, 2008

I have 2 problems relating to LOOKUP.
Not sure if Excel can perform these calculations as they could get to complex.

Problem 1
Can it be possible to have excel look at data from one cell reference another cell then display the results from the cell next to it in another cell, sort of example:

Tab 1 (Never changes)
AB
Bob1
Jon2
Fred3

Tab 2 (Dynamic, changes each week)
AB
Jon
Fred
Bob

So it would work as follows.
Tab2 column B will take Tab2 column A’s data check Tab1 column A and display Tab1 column B’s result.

Problem 2

Weekly league rank table that shows position movements week by week
Example.

Week1
1Jon
2Bob
3Fred

Week2
1FredUp 2
2BobNot Moved
3JonDown 2

Can Excel calculate/show the actual movements of league positions?

View 9 Replies View Related

Join Cell Text And 1 Cell Date From Cell With 2 Dates

Sep 8, 2006

I have three cells in A2:C2 which require user to input some data.

What I want to achieve is to combine the data from A2:C2 in D2.

C2 is a field which user will input the date. He might key in 21/08/06 or
21/08/06, 30/08/06

I have tried using below formulas in D2 but without success.

=A2&" " &B2&" "&(C2)
=A3&" " &B3&" "&DAY(C3)&"/"&MONTH(C3)&"/"&YEAR(C3) (doesn't work if there are 2 dates.

I have attached a file which shows 3 scenarios if user input 1 date and 2 dates.

View 7 Replies View Related

Send Row Number Of Changed Cell To Cell Where Row Resides In Cell

Apr 26, 2008

I have the following range of cells B2:Y3700. I want that when a value from 1 to 9999 is inserted in one cell of the above mentioned range, to copy the row number of that cell in the cell that is located in column Z and row is the number inserted in that cell. For example, if the number "1234" is inserted in one cell from range B2:Y3700, to enter in cell Z1234 the number of the row where is located the respective cell. At same the time is very important to me to not permit to insert the same number in B2:Y3700, so i believe that is need a macro code to check the cell from column z to see if value already exist .

View 5 Replies View Related

Copy Cell To New Cell If Previous Cell Condition Met

Mar 25, 2013

formula to copy a cell to a new cell if the previous cell meets the condition.

i have attached an example work book.

so what im looking for is on sheet 1 there is a table and cell G9 shows Apples. on Sheet 2 is a second table where the information is in slightly different rows.

I want to be able to [When Sheet 2 Column C = Sheet 1 Column G Then Paste Sheet 2 Column D into Sheet 1 Column H (next to Apples)]

Then i would like in Cell J9 to look something like [When Sheet 2 Column C = Sheet 1 Column G Then Paste Sheet 2 Column F into Sheet 1 Column J]
and i would like Cell I9 to look something like [When Sheet1 Column J = Sheet 1 Column L Then Paste Sheet 1 Column M into Sheet 1 Column I]

G9 H9 I9 J9 L M <-- hidden C D E F
Sheet 1 |Apples| 20 | Hot |Average | Hot | Average Sheet 2 |Apples| 20 | AP | Average

View 1 Replies View Related

Marco To Sign Cell Value From Col B To Cell In Col C Based On Value Of Cell In Col A

Feb 12, 2014

I need to assign the ID value to the cell in the source column when it matches the cell value in the email column.

i.e from the email column the first cell value is bobjohnson@email.com his ID value is 0 I need to find all the cells with bobjohnson@email.com in the Source column and assign them 0.

[Code] ......

View 2 Replies View Related

Countif: Value Of One Returned To A Cell In A Row If One Cell In That Row Contains A Value Between 10 And 5 (less Than 11, More Than 4) And Another Cell Is Blank

May 8, 2009

I have a spreadsheet with details of letters that should be responded to within 20 days, and i want to have a cell showing the amount that that need a response within 10 - 5 days. Basically I want to have a value of one returned to a cell in a row if one cell in that row contains a value between 10 and 5 (less than 11, more than 4) and another cell is blank. For example, AD27 contains 6, k27 is blank. I want AE27 to show 1. I also need the same if the value is less than 5, but i'm sure i could figure out how to alter it.

View 2 Replies View Related

Find Cell Value Copy Cell And Adjacent Cell

Aug 1, 2007

i am trying to find a cell in column C (if cell =140) and copy that cell and the adjacent cell in column "D" to worksheets called" upload" then repeat through multiple tabs- repeating process and dumping values in columns on the "upoload" worksheet

View 3 Replies View Related

Run-time Error 1004 (founds An Empty Cell The Value For One Cell Is Copied To The Empty Cell)

Feb 26, 2009

I have a workbook with over 900 worksheets.

The macro I have is looping all sheets looking for empty cells in a specific column, and when it founds an empty cell the value for one cell is copied to the empty cell.

But in one worksheet it stops with the error:

Run-time error '1004'
Application-defined or object-defined error

View 2 Replies View Related

Cell Referencing: Enter A Product Name In One Cell And Have The Price For That Product Automatically Appear In Another Cell

Feb 3, 2009

I'm trying to create a supply order form. Is it possible to enter a product name in one cell and have the price for that product automatically appear in another cell? Is there a formula that I can use to make this happen?

View 2 Replies View Related







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