Is it possible to make a cell "really" blank/empty based on an If statement? For instance:
=if(a1>10,a1,"")
Has a value_if_false of "". But Excel interprets this a bit differently than a cell that never had anything typed into it.
So if you have a column full of this formula copied down, and hit <control+down arrow>, you will go straight to the bottom and skip over all rows. Whereas if you have a column with values and empty cells alternating and hit <control+down arrow>, you will only skip the empty cells and go to the next value. Excel treats the conditionally empty cells as if they have a value, when it comes to this type of navigation. This holds even if you copy and paste "Values" for the cells over the formulas.
Is there any way to tell Excel to make the cells truly empty?
I have a spreadsheet that has long text sentences in each cell. I have a 2nd spreadsheet which is a slightly updated version of the first spreadsheet. The slight updates consisted of editing the odd word here or there out of the first spreadsheet.
Unfortunately, I didn't keep track of the changes I made, and I need to know what they are.
It's easy to tell if a change has been made, simply by comparing the cells. But I can't find an easy way to find out exactly what change was made. Comparing the cells a line at a time is very time consuming.
I have an excel file with some data in it. I have two columns with one of four words in it. For simplicity I'll call them RED, GREEN, BLUE, and Yellow. A few columns over I have columns "Same" "Good" and "Bad". I'm trying to figure out a way to get excel to put a 1 in the appropriate column, if cell A1 is Red I need excel to look at the word in cell B2 and put a 1 in the "same" column if A1 and B1 are the same word. If the word in B2 is Yellow I need excel to put a 1 in the "Good" column. If the word in B1 is GREEN or BLUE I need it to put a 1 in the bad column. The tricky part is each of the four words RED, GREEN, BLUE, and Yellow have a different set of words that will be called "good" or "bad". So if the word in cell A1 if Green for example it will have a different set of good and bad color words.
So it seems I need four different functions depending on what word is in A1. In the column next to these lists of words I have the date which I'll need to use to give me the sums of same, good, and bad for each day. But first things first. I think I need to use a combination of IF functions and MATCH function, but I can't figure out anything that works. Below is what I'm hoping it will look like when I've got the right formulas.
I've got a list of donor names, names listed multipled times in Column A, each row with different donation data. For instance:
Sheet 1
A1 - Mary Jones, B1- Internet Donation A2 - Mary Jones, B2 - Silent Auction Purchase A3 - Mary Jones, B3 - Event Ticket Purchase A4 - Gary Jones, B4 - Foundation Grant A5 - Gary Jones, B5 - Internet Donation A6 - Sara Parker, B6 - Event Ticket Purchase
I want Excel to compare rows A1 and A2, and if the name has not changed, enter the donation data from Column B into another sheet that will just list that person's name once:
Sheet 2
A1 - Mary Jones, B1- Donation1, C1 -Donation2, D1 - Donation3 A2 - Gary Jones, B2 - Donation1, C2 - Donation2, D1 - Donation3 (which would return no value because there the name changes
Im trying to make my life a bit easier, by adding a few macros and formulas to the spreadsheet (Everything was done completely manually before I got here!!!). What I would like to do is take two columns, which contain a start and end time for work shifts, and colour them GREEN once I have entered a name in the Worker column (Along side the two with the time), and also to fill a cell with a Yes or a No. Im aware of auto conditioning, and Ive tried to have a play to get this to work, but I just cant work it out. I have posted a link to an image which shows what I want. I hope I've explained it well enough!
I currently have created a form for the user to fill in details on my sheet. My idea is that when the user clicks a button, the macro will take that piece of text and populate my other sheet into the correct column. Therefore the task I am trying to resolve is copy the text into a field and then if the user clicks copy again, the text will fill into the field below as it is empty and so forth until the user has finished entering values. I have the following setps in pseudocode below but having trouble converting it to a macro!
I am caught in an areas where I have learned how to find the next available empty row by going far down my worksheet, counting up until I reach a filled row and then offsetting that value by 1 as seen here below:
My difficulty lies in assigning the cells in this empty row the data a user can input in my text boxes; let's say there are 4 text boxes which need to be put into the following cells:
Text box 1 (Text value) needs to be assigned next empy cell in column: AText box 2 (Text value) needs to be assigned next empy cell in column: B (1 offset away from A)Text box 3 (Numeric value) needs to be assigned next empy cell in column: F (5 offsets away from A)Text box 4 (Numeric value) needs to be assigned next empy cell in column: H (7 offsets away from A).
How would I go about using my identified "NextRow" and then plug in these text box values into their appropriate cells down that row?
trying to add cells together that contain time (hours and minutes). The cell containing the total formula shows the #VALUE! result when and only when one or more cells being added do not have a value in them.
The times have been entered as actual times of the day, formatted for AM/PM.
A simple adding formula works fine, but all cells must have a value in them to obtain a valid result.
Is there a way to auto-populate all of the empty cells with the word "Need to Review" in a cell range (A1:A250)? Once any of the cells in this range is populated, whatever is inputted should house the cell.
When choosing ascending or decending, is it possible to always keep rows with the designated blank cells at the bottom? Trying to prevent the blank cells from popping on the top when i filter by a certain field.
I'm looking to set up a spreadsheet whereby individuals answer questions and have to format their answer using a particular font, colour, font size and so on. The idea is that I can then compare their answer sheet to a pre completed one using an =IF function and get a total score. The only problem is =if and =exact only lookup cell text/numbers and don't look at how the text is formatted within them.
1) 4 values contains in each row based on the values from those cells the max value will display.
2) if more than 2 cells have empty,NR or NA text means the entire row has to delete.
3) if 2 or more that means 3 cells having values the empty cell,NR or NA cell will place value with the condition of macro that is 75% of other values which is maximum among them.
I have a long range of cells (U3:AX3), all of which are empty save one. Is there a way to search through the range of cells, and return the contents of the one cell that contains text?
I would do this with a series of nested IF statements if there weren't more than 30 of them!
How I can look up non empty cells as shown in the below tables by use of a formula (I guess shifting data to the left without any empty cells between the data)?
why when a column is copied do blank cells no longer become blank. i have a macro below that writes data to a column based when cells are balnk it skips them. it works great except for when you copy a column the cells are no longer blank.
Sub RET_DATA() For i = 1 To rs.Range("L65536").End(xlUp).Row Lastrow = Range("A65536").End(xlUp).Row Cells(Lastrow + 1, 1) = rs.Cells(i, 17) Next i End Sub
To make a long story short, I'm trying to compare formulas. I was able to copy the formulas as values.
There are hundreds of lines, each one with the formulas pasted as values, like '=SUM(G132:I132) / G30. What I want right now is to compare the text.
So, if for example:
the line for both parts of the pasted sum formula like '=SUM(G132:I132) / G30, I want a number 1 to be written in the adjacent cell (if '=SUM(G132:I132) / G30 is in A1, 1 should be written in B1).
However, if its is written '=SUM(G132:I142) / G30, than nothing should be written in B1.
Moreove, the line could have from 1 to characters. So it could be '=SUM(G1:I1) / G30 or '=SUM(G13200:I13200) / G30.
is the same, like of A1 is '=SUM(G1322), I want a number 1 to be written in B1
I have two text files with huge data in each which I need to compare for difference between each for e.g.
file 1 would have following records
12345 KKKK 3510 ABCD
file 2 would have 12345 KKKK 3210 ABCD
file 2 would have similar records but 3510 would have difference. What i need is " if 12345 and ABCD is matching then what is the difference value of 3510 and 3210 ? the result should be 300 . This i need as an output in another text file.
I work in a School and need to create a points awards system based on GCSE Grades.
I have predicted and actual grades for each pupil in columns. I need to figure out how I can calculate an award point for this. i.e. if the predicted grade is an A and the Pupil gets a C this would be a minus 1 point score. I need to do this for all subjects and add a total.
I have attached a spreadsheet with a demonstration of what I require. I have created formulas to do what I require however I see it as terrible programming but I cannot figure out another more efficient way.
I have two separate columns of text and want to identify similarities/matches. vlookup false is good for exact matches but vlookup true is too approximate - is there a way to hone vlookup true to match first 4 or 5 text characters rather than just the first? If vlookup no good for this what is best function for identifying approximate matches in two separate text lists?
I am trying to compare to values that a user inputs in a user form. It's ok if they are not the same I just want the user to know it. I am only including the part where the if statement is failing:
VB: If Me.VSLongQuant.Value <> Me.VSShortQuant.Value Then MsgBox VerUnBal If VerUnBal = vbNo Then Exit Sub End If End If
I have VerUnBal as Long and defined as:
VB: VerUnBal = MsgBox("The Long and Short option Qunatities are not equal." & Chr(13) & _ "Is this intended to be an unbalanced vertical spread?", vbYesNo, _ "Unbalanced Spread Alert")
I can provide more info as necessary. There are two problems 1) the message box is appearing whether the numbers are equal or not, and 2) clicking No in the message box does not cause the Sub to exit.
I am creating for the pupils at my school. Comparing the grades they were predicted and have achieved I would like to give them a score.
I have already achieved this but it means wasting 3 columns for each subject to work it out. The ambition is to do all the working out and assign a point score value in 1 column.
The spreadsheet it attached if anyone would be kind enough to have a look and see if there may be a formula which will do what I need.
I have two spreadsheets I would like to compare against each other, last weeks inventory (Sheet 1) and this weeks (Sheet 2). All items are listed by unit number, is there a way to have all unit numbers on Sheet 1 colored red that are not on Sheet 2 and vice versa?
Is there a way to compare two cells and return true if they are the same, false if different? There is text and numerical data. As a side note, can anybody recommend a lightweight reference so I can sit for an evening or two and at least get an idea of what excel can do?
I need to compare a value to several cells and print the value into a new cell if and only if the value is not in any of the cells I am comparing to.
Say cells A1, A4, A8 and A12 contains different numbers. I want to compare a value, say 120, to the values of the above cells and if it is not contained in one of those cells I want to enter 120 into cell A16. If A1, A4, A8 or A12 contains the value 120 I want to leave A16 blank or write 0 to it.
Is there an easy way of doing this? Right now I am using a if-test for each of the cells I am comparing to, but this gets very messy as the number of cells increases.