I have three formula in a spreadsheet, all of which should return a number (which they do) or show blank. However, two of the formula return 'FALSE'. The formula are as follows:
Where I would like it to return a Blank cell if H16 is blank. However it always puts False in the cell because there is a Vlookup that is hidden H16. Is there a way I can make it return as a blank cell instead of false.
How wud I find out the total number of rows in a column, that are non blank? Value "False" and N/A are considered as blank cell , but a cell with --> one or more space " " is allowed.
was looking if you could change a row of cells background colour if certain word is inputted elsewhere. in b2:f2 is data- was looking if, could these cells background colour change when yes is entered in G2? does not matter which is used, VBA or con formatting just cant work it out.
ie. This value M4 needs to change based on the week.
Range("M4").Select
If it's week 1, then it can be say M4, but week two will need data to go to N4.
I have found out how to get the week number from the user. ie.
' Select Week Number Dim NumSheets As Integer Dim Prompt As String Dim Caption As String Dim DefValue As Integer
Prompt = "What week do you want to get data for?" Caption = "Week Number" DefValue = 1 NumSheets = Val(InputBox(Prompt, Caption, DefValue)) If NumSheets > 52 Then MsgBox "Week Number too high" If NumSheets < 1 Then MsgBox "Week Number too low"
I tried then linking this value saved as NumSheets by:
Dim Rng As Range
If NumSheets = 1 Then Rng = Range("D3") If NumSheets = 2 Then Rng = Range("E3")
This is a lottery challenge that I am facing at work. 6 numbers are chosen from 45 on a weekly basis. Using about 20 years worth of information, I have code that provides a dynamic frequency list in descending order.
I'd like to now have the user pick a number from the above list and see what other numbers have come up with these frequencies. I guess ultimately I'd like 2 or 3 "favorites" with the corresponding frequencies. Trouble is I've been going around in circles with nothing working
I am still having bother with if statemnts (within a cell in excel - not a macro) Sicarii kindly assisted me the other day with this...
=IF(A1="&","V",IF(A1=" &"," V")) *note* there is nothing set in this for FALSE.
How do I get the statement to return nothing (i.e.: have "" in the return) instead of 'false'? To explain further, I have in a column, the following: & ^ & (i.e.:'(space)&') & 33
I am using concatenate to create a list of bottles based on other data, so that each cell contains a different combination of bottles.
The problem is that the list appears but there is also FALSE for every bottle that doesn't relate to that cell.
Is there a way to create a formula such that nothing appears if it is not true? And is there a shorter way of writing what I am after, I can't quite finish the formula becaise it is so long.
I've written a sumproduct formula, which does what I want it to do; but it returns a zero in false condition, instead of a blank. I've tried several things, but don't seem to be progressing very far. Here's the formula that I ended up with.
I want to make changes to a cell's formula when a combobox option is clicked, I can make the changes using sheet1.cells(x,y) = "=WHATEVER(bla,bla,false)" The problem is that when I run the program and make a change in the combobox, false is written as 'false' in the cells formula, which drives it into not working and displays ####### as the cells result.
Im currently writing a payroll sheet within excell and trying to write an IF statement to make a cell blank if referring to another blank cell but it is showing the formula is incorrect. Below is the following IF statement that im using;
My workbook is for financial planning but I'm attempting to streamline an input page (name, birthdate, etc) that will be referenced throughout the entire workbook to trigger automatic calculations (present value, education calculations, etc).
The cell in the input page is a birthdate - which when populated will trigger a cell on a different worksheet to calculate the respective age using this formula:
The problem is if there is nothing written in the birthdate cell then the age cell will automatically calculate 114 (reference photo below). Ideally I'd like that cell to be blank if nothing is in the birthdate cell on the input worksheet. I'm assuming since I'm using an IF formula to calculate the age already then I'll need to use a macro to to an "ignore".
I have made a table which contains 2 date columns, Both formatted as date (dd-mmm-yy), the second column is calculated as the first column, + 30, The dates work out fine when adding to a date in the first columns, but from a blank cell it displays 30-Jan-00.
e.g Started Finishes
12-Nov-13 12-Dec-13
30-Jan-00
09-Nov-13 09-Dec-13
11-Nov-13 11-Dec-13
Rather than delete the rows with the blanks in the Started column, is there a formula that I can use so that the cells in the "Finishes" column is left blank when the "Started" cells are blank?
The current formula for cells in the "Finished" column is:
I am trying to make a sheet that I can make selections from a list of things on one worksheet and have the selections pull through to another worksheet. I have attached a mockup of the data, the ideal outcome and the logic is basically this:
If Cell A = Yes, then populate this cell with Column B Data
Repeating until ALL Cell A = Yes have been reviewed
In the below link u will find each state driving license formats of ..example for alabama 7 Numeric..for ALASKA Up To 7 Digits..what am i looking is if we select a specific state and then insert any driving license of that state in next cell if the format matches i want that next cell to be true if not false ..wonder if we can create anything like this ..there are about 50 states with different license formats..
Is there a formula or VB code like the =TYPE() function that will return whether a cell contains a FORMULA? Here's the issue:
I'm writing a macro to update 10,000 sheets. Each sheet has a column that I'm updating with a new formula. Some of these formulas have been previously overwritten with a random number that would delete the formula from the cell. I have to leave the overwritten values where there is no formula, and replace the values of the formulas where they are still intact. I assume that if I can identify whether there is a formula in the cell or not, I can choose that cell to skip or update.
I want to return a true or false result that I can use in a formula to indicate whether "Edit directly in cell" has been "set". The VBA code is Application.EditDirectlyInCell = True
How to leave a cell truly empty if the criteria of my IF statements is untrue. Currently, I'll write something like:
[Code] ....
But for some reason, when I copy and paste the resulting range of values elsewhere (to rid myself of the formula that determined them), the cells that did not return a value (where the statement is FALSE), are not recognized by a "Go To Special > Blanks" request, until I select all of the "empty cells" and clear them manually. Yet when I try to do a search on the same range for an empty space, I get no hits.
The above formula is not working as in A9, I have a formula although there is no physical text in the cell as the criteria applied is false. However, B9 still appears.
how return a true/false based on a cell containing a string (text) vs a value?
I have a column where most cells are blank, some contain text, and others contain dates. I would like to select and manipulate only the ones that contain dates (or values).