Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I tried almost everything that I could remember. I have some data like this in an Excel file:
Item 1 Item 2
A1 B1
A2 a2
A3 a3
B2
I want to create a chart that updates constantly with spaces from A1 to G7 that will get this kind of result (kind of like in Battleship):
Any idea how to do this?
You could use a conditional formatting rule like:
=SUMPRODUCT(--EXACT($A2&B$1,Lookup!$A$2:$A$10))
with a fill colour of green, and another one
=SUMPRODUCT(--EXACT($A2&B$1,Lookup!$B$2:$B$10))
with a fill colour of orange.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I would like to add an icon to cells based on rule if another cell contains a value.
Here are cells which I want to format. On the left side I want to add icon in the right side of the cell if the cell in the column Note of the same row contains a value. For Example, "Formale Systeme" cell should have that icon because there is a note "2" in that row.
Here is an example how it should look.
Cells on the left side are D7-D66 and cells on the right side are I7-I66
I found an answer on this site: https://www.ablebits.com/office-addins-blog/2014/06/05/excel-conditional-formatting-icon-sets-data-bars-color-scales/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Require assistance with excel formula to subtract numbers from cells F2 & I2 if no data is in cell K2. If data is in cell K2,then I need formula to subtract F1 & K2 only.
Well, based on what you asked and what I understand, then the following may help:
If you are going to drag this down then you may need to control which cells move.
Edit, just spotted you said subtract so:
=IF(K2="",F2-I2,F1-K2)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to color a specific cell if (for example):
A1 has a value (meaning it is not blank)
B1 has no value (meaning it is blank)
In this scenario I would like to color B1 red.
I want the formula to apply to the entirety of the B-column.
Try clicking Format > Conditional formatting > Custom formula is:
=AND($A1<>"";$B1="")
Apply this to range B:B and select a red colour format
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am required to write some VBA code so that, if I assign it to a command button, by clicking it I should be able to match the color of cells C11 and cell C4.
Suppose I change the color of C11 to red, the color of C4 should change to red by click of a command button or automatically.
Can some one help me with this?
The following code copies the color value from cell "C11" to cell "C4":
Range("C4").Interior.Color = Range("C11").Interior.Color
As long as you work with valid Range-Objects, you can use different types to address the cells as fits your needs. For example the active selection (at least one cell or more):
Selection.Interior.Color = Range("C11").Interior.Color
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
this is my current code to print these cells
Sub printSticker()
Worksheets("Sticker").Range("A1:D4:B6").PrintOut
End Sub
But this way it keeps the formatting on them, so I can choose where they are going (they have to fit on a pre-printed sticker)
For example
On D4 it will include the cells from A4 B4 and C4 so there is a wide space before D4
I would like to remove this space so A1 D4 and B6 are in a neat line stacked on top of each other
spreadsheet
Preview what you are printing by either adding Preview:=True at the end of your expression
Worksheets("Sticker").Range("A1:D4:B6").PrintOut Preview:=True
or File ยป Print
Ok, you need to align your values using the alignment controls on the toolbar
Also you can hit F1 and type Print Labels to get step-by-step guide.