+ Reply to Thread
Results 1 to 2 of 2

Any way to use the Find feature in the actual formula?

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    2011
    Posts
    2

    Any way to use the Find feature in the actual formula?

    Is there a way to find & replace within the formulas on a sheet?

    i.e. I want to take =SUMIF('Jan Expenditures'!E3:E200,'Jan Expenditures'!$J$6,'Jan Expenditures'!F3:F200)

    and replace any "'Jan" with "'Mar"

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Any way to use the Find feature in the actual formula?

    You can probably use indirect() and then just refer to a cell containing the sheet name?
    something like...
    =SUMif(INDIRECT(B13&"!E3:E200"),INDIRECT(B13&"!$J6"),INDIRECT(B13&"!F3:F200"))
    where B13 contains the sheet name

    If that doesnt work for you, ii would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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