Results 1 to 1 of 1

How do I add a variable row number into a SumIf formula cell reference

Threaded View

Whit01 How do I add a variable row... 10-16-2013, 06:19 AM
  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    Qld, Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    How do I add a variable row number into a SumIf formula cell reference

    How do I add a variable row number into a SumIf formula cell reference

    I want to replace $100 cell references with a variable row number that I can locate using FIND.

    SumIf formula where $100 needs to be replaced with a variable row number is:-

    =IF(E10="","",SUMIF(Workings!$D$100:$F$600,'SAP Entry ex Misc'!C10,Workings!$F$100:$F$600))


    Variable row number search is :-
    Dim rngSearch As Range, rngFound As Range
        Set rngSearch = Range("A:A")
        Set rngFound = rngSearch.Find(What:="Vehicle totals...", LookIn:=xlValues, LookAt:=xlPart)
    Thanks in advance for any help.
    Last edited by Fotis1991; 10-16-2013 at 06:21 AM. Reason: Pls use code tags around your codes!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. What is the syntax to reference a number in a cell using a variable?
    By dcebulsk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2012, 04:42 PM
  2. Replies: 2
    Last Post: 05-30-2012, 05:02 PM
  3. [SOLVED] reference a cell a variable number of positions away
    By kamelkid2 in forum Excel General
    Replies: 2
    Last Post: 05-22-2012, 01:07 PM
  4. SUMIF - Reference cell value in a formula?
    By Hugh Alberson in forum Excel General
    Replies: 1
    Last Post: 08-14-2010, 02:46 AM
  5. How to change the number of decimal places in a variable cell reference...
    By kenab1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2010, 01:32 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