+ Reply to Thread
Results 1 to 3 of 3

complicated find and replace

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    complicated find and replace

    Hello. I have this formula in about 1200 cells.

    =IF(B9<>"",SUMIF(GL!$A$1:$A$217000,$B9&"-"&C$4,GL!$D$1:$D$217000)-SUMIF(GL!$A$1:$A$217000,$B9&"-"&C$4,GL!$C:$C),"")

    I would like to change this formula into this formula (format) below for all of the cells? How can I do that?

    =SUMPRODUCT(--(GL!$A$2:$A$217000=B9&"-"&$C$4),(B9<>"")*(GL!$D$2:$D$217000-GL!$C$2:$C$217000))

  2. #2
    Registered User
    Join Date
    03-14-2015
    Location
    Hamburg
    MS-Off Ver
    7
    Posts
    32

    Re: complicated find and replace

    Hi there,

    couldn't you provide this issue in the context of an example, illustrated in a spreadsheet?

    Kind regards from HAmburg

    Henning

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: complicated find and replace

    If the formulae are all in one column and there is nothing between the formulae (like other formulae or text etc) enter the formula in the top cell of the column where the formulae start and then grab the fill handle (lower right corner of the cell) and drag down or simply double click the fill handle. Double clicking will fill the formula down until it comes across a blank cell so this might not work for you.

    Another method to fill down (I will assume column M for the example).
    Enter the formula in M5 (if that is where the formulae start) then, in the name box (left of the column headings and above the row numbers) enter M5:M1200 and hit enter. This will select M5:M1200. Then immediately do Ctrl + D to fill down.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. complicated find and replace
    By ammartino44 in forum Excel General
    Replies: 5
    Last Post: 06-13-2015, 04:12 AM
  2. very complicated find and replace code
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2015, 04:03 PM
  3. [SOLVED] Formula to use in complicated replace
    By njelezn in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-20-2015, 07:11 PM
  4. Replies: 3
    Last Post: 11-25-2014, 06:08 AM
  5. Replace Fill Down, Complicated Equation
    By thequiff in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-15-2012, 10:03 AM
  6. Complicated Find - Replace
    By abertrand in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2009, 01:13 PM
  7. Userform, Find and Replace - Really Complicated
    By HelenMcKenzie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2006, 06:22 AM

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