+ Reply to Thread
Results 1 to 9 of 9

Multiple columns & rows

  1. #1
    Registered User
    Join Date
    11-18-2019
    Location
    Barcelona
    MS-Off Ver
    2013
    Posts
    6

    Multiple columns & rows

    Hi all,

    it may be a very easy one, but I couldn't solve it on my own.
    here is how it looks:

    Untitled.png


    I have a column with dates, where I need to multiply 0.3 with each total from columns independently, ex:
    1x0.3
    3x0.3
    6x0.3
    10x0.3
    15x0.3
    21x0.3
    28x0.3

    I can do it manually, but I was wondering if there is a formula for this, its basically multiplying rows with columns.
    my problem is that I can't drag the formula down because the source is in columns - horizontal

    thank you in advance

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Multiple columns & rows

    Hi
    as you can see in the yellow banner, a sheet would help us help you. thanks

  3. #3
    Registered User
    Join Date
    11-18-2019
    Location
    Barcelona
    MS-Off Ver
    2013
    Posts
    6

    Re: Multiple columns & rows

    thank you for the reply, here is the attachment
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-18-2019
    Location
    Barcelona
    MS-Off Ver
    2013
    Posts
    6

    Re: Multiple columns & rows

    also, while we are on it, would be very happy if you please check my formulas for DAU columns from 1 to 30, what do you think of the formulas? is there a more elegant way to copy paste the same numbers? e.g. 100.000 for each DAU day?
    thank you in advance

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple columns & rows

    I don't understand your original question!! Please explain with reference to your sample sheet. give some manually calculated results.

    For your second question:

    =IFERROR(VLOOKUP(OFFSET(I$4,,-(ROWS($1:1)-1),,)-1,$B$4:$F$35,2,FALSE)*$D$5,"")

    in I5, copied across and down is nicer...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    11-18-2019
    Location
    Barcelona
    MS-Off Ver
    2013
    Posts
    6

    Re: Multiple columns & rows

    Hi Glenn,
    thanks a lot for the reply & formula, very elegant

    as per the original question, I am trying to multiply the ARPDAU rows with DAU columns and paste the result to Revenue (highlighted in blue),
    e.g.
    F5*I37 = 30.000, D0 revenue = 30.000$
    F6*J37 = 42.000, D1 revenue = 42.000$ and so on.
    I am trying to figure out how to "drag" the formula, where columns are changed automatically, like I37 to J37

    hope this makes sense

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple columns & rows

    Yep. I think so, anyway:

    =F5*OFFSET($I$37,,ROWS($1:1)-1,,)

    copied down.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-18-2019
    Location
    Barcelona
    MS-Off Ver
    2013
    Posts
    6

    Re: Multiple columns & rows

    thank you very much Glenn, I see that OFFSET is the key here will def learn more about it..

    thank you, have a great day!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Multiple columns & rows

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Lookup multiple criteria in multiple columns in multiple rows; return true if exists
    By ufdlim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2019, 02:03 PM
  2. Search Multiple Columns and Rows - Show results in Multiple columns and rows
    By heykeighley in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-12-2015, 10:16 AM
  3. Replies: 9
    Last Post: 12-15-2013, 10:05 PM
  4. Combining multiple rows from 2 columns into sorted columns depending on 1st columns value
    By Dexamphetamine in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-11-2013, 10:00 AM
  5. Multiple ccolums/rows to get data from multiple columns/rows (vlookup)
    By Ramzes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-18-2010, 05:35 AM
  6. Replies: 1
    Last Post: 05-18-2009, 11:21 AM
  7. Replies: 1
    Last Post: 03-18-2009, 04:18 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