+ Reply to Thread
Results 1 to 4 of 4

drag horizontally a formula cell and increase the vertical reference

  1. #1
    Registered User
    Join Date
    12-30-2017
    Location
    Athens, Greece
    MS-Off Ver
    MS Office 2010
    Posts
    1

    Question drag horizontally a formula cell and increase the vertical reference

    Hello everyone, I'm facing a problem with a book i'm currently working on, heres the thing: In the first sheet thers a vertical calendar with some names next to each day of the month. In the second sheet there is a horizontal calendar with a first column the one with the list of the names used in the first sheet. When a name is displayed next to a a date in sheet1 I want a "yes" to appear in the date next to the name in sheet 2. I have found a formula that does the work (see first printscreen) and I want to drag it horizontally in sheet2 and increase the reference vertically in sheet1. I hope I explained what I need well, otherwise I can refrase.

    sheet1.jpg
    sheet2.jpg

    PS: Sorry for the greek language in my MS Office

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: drag horizontally a formula cell and increase the vertical reference



    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    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
    44,053

    Re: drag horizontally a formula cell and increase the vertical reference

    removed by GK

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: drag horizontally a formula cell and increase the vertical reference

    try

    in B2 of "Sheet2"

    =IF(SUMPRODUCT(--(Sheet1!$A$2:$A$32=Sheet2!B$1)*--(Sheet1!$B$2:$Z$32=$A2)),"Yes","No")

    Copy across and down

    Change highlighted range to max number of names in a row
    Attached Files Attached Files
    Last edited by JohnTopley; 12-30-2017 at 03:23 PM.

+ 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] Drag horizontally and copy vertical cells
    By shamskh2 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-11-2020, 12:33 PM
  2. formula to drag horizontally to equal vertical cells
    By jasonanthony in forum Excel General
    Replies: 6
    Last Post: 05-14-2015, 03:24 AM
  3. Formula to drag data horizontally in reference to a vertical set of data
    By Arpmukhe in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-29-2014, 03:37 AM
  4. Replies: 5
    Last Post: 11-28-2012, 10:51 AM
  5. Increase a number horizontally formula???
    By jacksoss in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-28-2012, 02:52 AM
  6. Increase Reference Rows by 7 as I Drag Down
    By a1195423 in forum Excel General
    Replies: 1
    Last Post: 08-27-2011, 04:25 PM
  7. Drag horizontally but have formula increase vertically?
    By Greg_2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2011, 09:24 AM

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