+ Reply to Thread
Results 1 to 4 of 4

can I use variables for the column value?

  1. #1
    Registered User
    Join Date
    02-13-2020
    Location
    Cyprus
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    9

    can I use variables for the column value?

    In Google Sheets, I set the "Duration" option on column G (TimeDifferece)

    1.png

    Then I set =C2-B2 so the time difference is calculated between those 2 cells.

    2.png

    And this is the result, which works exactly how I want it.

    3.png

    My problem is that this =C2-B2 must come from a software integration platform. And the values C2 and B2 will become C3/B3, C4/B4 etc..
    So I need to tell the integration platform what the value of the row is.

    The C2 and B2 values in the screenshot below, must be variables representing the row number.

    4.png

    How can I tell the integration platform to use the correct row number?

    I hope I explained it clearly. If not let me know.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: can I use variables for the column value?

    Try using the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    =row() returns the row number where the formula resides.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-13-2020
    Location
    Cyprus
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    9

    Re: can I use variables for the column value?

    that worked great, thanks

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: can I use variables for the column value?

    You're welcome. Thanks for the rep.

+ 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. Replies: 1
    Last Post: 05-06-2021, 01:42 AM
  2. [SOLVED] Column sum with variables
    By cmwyke in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-11-2014, 12:27 AM
  3. macro that finds variables in one column and enters values if variables found
    By xln00b in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2010, 08:22 AM
  4. column variables
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 57
    Last Post: 09-06-2005, 04:05 AM
  5. [SOLVED] column variables
    By mahmon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] column variables
    By mahmon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. column variables
    By mahmon in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-27-2005, 04:05 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