I have several conditionals in a cell is something like this: =IF(AND(A1<2,B2>4),"1")
How do I get the result to be an empty cell if either A1 or A2 are blank(no data in them)?
I tried isblank, but did not worked for me, I also tried saying A1="", but it did not work either, neither <> worked...
Hello,
I have a form with formulas and vba code. The code is password protected and the document is read only, but when is saved as the cells can be partially modify.
what can be done to prevent this from happening? Thank you for your help.
Codedreamer
Hi,
I need to merge a block of text(rows and columns), highlight the merge cells and move that to a column on a different spreadsheet in a different book.
I have the merge and highlight done using vba, how can I move this data?
Thanks,
codedreamer
https://www.dropbox.com/home/excel?select=numbers.xlsx
Hi Hui,
Here is the link. I really need to know how many of each kind I have, but thought that if they are colored it would be easier to count.
The numbers should be adjacent to each other for example in column ab, cd, so the first set...
I am trying to compare values in 4 columns. I would like the equal values to be highlited and if the number on the left is les than the number on the right to higlit with another color. I know I can use count if to get the numbers I want, but how can I get them in contiguos cells?
thanks for...
I wonder if anybody knows where to find the commands to dictate to excel using windows 7 speech recognition. I have search, but all I have found is related to word.
Thanks in advance.
codedreamer
Thank you so much Hui, the way you wrote the if then endif is really nice. Narayank991 the article is very interesting, never thought to go to wikipedia. I think I got it now. Thank you very much to all of you.
Codedreamer
I am trying to understand the relationship between if then else statements and select case. So I tried to convert if then to select case, but I do not know how to do it. This is all I could come up with. Pointing to easy to understand article or a simple explanation would be appreciated...
Hi Hui,
Thank you for your explanation. I did try that way first, but I get a run time error 1004 "application-defined or object defined error". I do not understand what that means.
Thank you for your help,
Codedreamer
Hello,
I have a macro where if one condition is true then two things should happen. I tried to used "and", but it gives me an error message. This is what I have:
If ThisWorkbook.Sheets(i).Range("A1").Value = 5 Then
ThisWorkbook.Sheets(i).Range("B2").Value =...