Results 1 to 2 of 2

Replace part of string if conditions are met.

Threaded View

  1. #1
    Registered User
    Join Date
    04-16-2019
    Location
    The Netherlands
    MS-Off Ver
    Excel 2013
    Posts
    4

    Question Replace part of string if conditions are met.

    Hi all,

    I use the formula "=Sumif((Tabel1[Number]),"A03",(Tabel1[Type]))".
    I want to change the second search header in the formula with VBA ([Type]) if there is a "k" in column A.
    Is it posible to Replace a part of a string/Formula if conditions are met with VBA?

    Replace part of string.jpg
    Attached Files Attached Files
    Last edited by Remco Verdaasdonk; 04-23-2019 at 03:31 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. replace part of string in the range.formula
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2017, 01:31 PM
  2. [SOLVED] Replace different part of string with different values
    By vistrup in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-21-2016, 03:41 AM
  3. [SOLVED] Macro to change 1) part of string, 2) the order of characters inside a string, 3) format
    By Karl Gustaf Karsten in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2015, 11:51 AM
  4. Replies: 1
    Last Post: 07-03-2014, 04:32 AM
  5. [SOLVED] Can I remove the first part of a string of text and keep the second part?
    By Whoop92 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 02-12-2014, 07:44 PM
  6. [SOLVED] Find a string by VBA Regular Expression and replace a part of that string
    By taps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2013, 11:08 AM
  7. [SOLVED] Find and replace part of a text string
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 07-10-2006, 05:39 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1