+ Reply to Thread
Results 1 to 8 of 8

Form Response ARRAYFORMULA?

  1. #1
    Registered User
    Join Date
    02-18-2023
    Location
    Oakland, California
    MS-Off Ver
    365
    Posts
    8

    Question Form Response ARRAYFORMULA?

    I have created a form to record measurements, and I need to calculate the average and percent difference between the average and the actual weight measured. I believe I should be using an =ARRAYFORMULA. The formulas I used were =ArrayFormula(AVERAGE(D1:F1)) for average and =ARRAYFORMULA((G1-1)/1) for the percent difference.

    Screen Shot 2023-03-12 at 1.56.02 PM.png

    I'm not familiar with setting up =ARRAYFORMULA. Any help is appreciated!

  2. #2
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    175

    Re: Form Response ARRAYFORMULA?

    Try the following:
    In G2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Let us know if this gets you what you want.
    Last edited by Flyboy65; 03-13-2023 at 01:41 PM. Reason: Wrong formula for %diff

  3. #3
    Registered User
    Join Date
    02-18-2023
    Location
    Oakland, California
    MS-Off Ver
    365
    Posts
    8

    Re: Form Response ARRAYFORMULA?

    Both formulas worked in for 1 mg measurements, but I'm having a hard time getting the percent difference to work for 200 mg measurements.

    I'm using this formula: =ARRAYFORMULA(IF(LEN(L1:L),L1:L-200/200,))

    Attachment 821466

  4. #4
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    175

    Re: Form Response ARRAYFORMULA?

    Can you share a file with some sample data with expected results.

  5. #5
    Registered User
    Join Date
    02-18-2023
    Location
    Oakland, California
    MS-Off Ver
    365
    Posts
    8

    Re: Form Response ARRAYFORMULA?

    Here's some sample data:

    example data.xlsx

  6. #6
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    175

    Re: Form Response ARRAYFORMULA?

    See if this sheet has the figures you're looking for.

  7. #7
    Registered User
    Join Date
    02-18-2023
    Location
    Oakland, California
    MS-Off Ver
    365
    Posts
    8

    Re: Form Response ARRAYFORMULA?

    Not exactly. I'm having the same issue where the results for % Diff are not correct. For column K, the responses should be : 0.333333334 (K2), -0.108333334 (K3), and -0.008333334 (K4). For Column P, the responses should be: 0.366666667 (P2), -0.15 (P3), and 0 (P4).

    But, you helped me figure it out! The formula was a little off. This is what ended up working: =ARRAYFORMULA(IF(L:L,(L:L-200)/200,))

    Thank you for all your help!!

  8. #8
    Registered User
    Join Date
    02-18-2023
    Location
    Oakland, California
    MS-Off Ver
    365
    Posts
    8

    Re: Form Response ARRAYFORMULA?

    I'll add that my final formula was =ARRAYFORMULA(IFERROR((L:L-200)/200,"% Diff"))

+ 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. [SOLVED] Excel form online response formatting
    By ckserra in forum Office 365
    Replies: 12
    Last Post: 01-17-2019, 03:15 PM
  2. [SOLVED] searching for Full syntaxis form Msgbox helpfile en response code
    By blake20 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2018, 08:09 AM
  3. Unite data from multiple form response sheets
    By dcourtney in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-21-2017, 03:59 PM
  4. Allocating data from a multiple response field to individual response filelds
    By Riddles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2016, 02:15 AM
  5. excel form auto hide and unhide based on response.
    By vitt4300 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2014, 12:36 PM
  6. Help: Submit form to website (PHP System) and retrieve response in Excel
    By AMRayner in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2012, 10:53 AM
  7. User Form Buttons: Delayed response
    By 20 Ton Squirrel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2010, 02:13 PM

Tags for this Thread

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