1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Macro Help

Discussion in 'Business Applications' started by gingleberry, Dec 16, 2011.

Thread Status:
Not open for further replies.
  1. gingleberry

    gingleberry Thread Starter

    Joined:
    Dec 16, 2011
    Messages:
    3
    I need a macro to check to see if a cell is empty, but only is there is text in a speicific Cell on the same row.
    For example

    A1 A2 A3 A4
    re1 99 London 1990
    re2 99 1988
    re3 99 Cardiff 1975

    Id want the macro to check A1, if it has text in it, then to check A3 to see if its empty. Then for the Macro to count how many are empty and display that number in Cell L5.
     
  2. bomb #21

    bomb #21

    Joined:
    Jul 1, 2005
    Messages:
    8,546
    "I need a macro ..."

    No, a formula will do.

    =SUMPRODUCT((A1:A3<>"")*(C1:C3=""))
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1031496

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice