Solved

Fill Cell

Posted on 2011-02-25
4
173 Views
Last Modified: 2012-05-11
Hi,

I have atatched a ss where you can see the highlighted cell is blank. I would like a piece of code that runs through Column C and says "if A2 is not blank, and C2 is Blanks, "No Source Code"

Thanks
Seamus
Example.xls
0
Comment
Question by:Seamus2626
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
StephenJR earned 500 total points
ID: 34979037
Seamus - do you mean like this?
On Error Resume Next
Intersect(Columns(1).SpecialCells(xlCellTypeConstants).Offset(, 2), Columns(3).SpecialCells(xlCellTypeBlanks)).Value = "No source code"
On Error GoTo 0

Open in new window

0
 

Author Closing Comment

by:Seamus2626
ID: 34979072
Smashing!! Thanks

Seamus
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34979073
Stephen - nice. :)
0
 
LVL 24

Expert Comment

by:StephenJR
ID: 34979499
Thank you both!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question