Results 1 to 2 of 2

Thread: VBA Procedure for nested if statement.

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    1
    Rep Power
    0

    VBA Procedure for nested if statement.

    Col-A Col-B Col-C Col-D Col-E Col-F Col-G Col-H Col-I Col-J Col-K Col-H Col-I Col-J Col-K Col-L Col-M Col-N Col-O
    IF(F="",C&D&O,IF(H="",C&F&O,IF(J="",C&F&G&O,"!")))

    Hi Rick,

    I am novice to VBA , and tried to create procedure for above formula without success. Pl help to give me procedure .. not function to run the formula output as desired . Alphabet in the formula refer to the excel columns based on which i want output to come in column A cells.

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Last edited by DocAElstein; 06-11-2023 at 01:11 PM.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Syntax Error In SQL Update Query Statement
    By ashu1990 in forum Access Help
    Replies: 3
    Last Post: 06-11-2013, 11:48 AM
  2. Nested If Formula With Multiple Conditions
    By lprc in forum Excel Help
    Replies: 10
    Last Post: 04-22-2013, 07:27 PM
  3. Replies: 0
    Last Post: 09-07-2012, 09:10 PM
  4. Excel Nested IF 3 Condition Formula
    By yomgi in forum Excel Help
    Replies: 2
    Last Post: 02-20-2012, 11:50 PM
  5. On Error Statement (Visual Basic)
    By Excel Fox in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 10-12-2011, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •