+ Reply to Thread
Results 1 to 3 of 3

Match / Copy cell to current month column

  1. #1
    Registered User
    Join Date
    11-12-2017
    Location
    Stafford, England
    MS-Off Ver
    365
    Posts
    184

    Match / Copy cell to current month column

    Hi,

    Looking to get a formula to return a cell value to another cell based on current month.

    In the attached example;

    B3 is current date
    B4 is blank, enter any date to change date in B5
    B5 will display date in B4 or if blank date in B3
    B6 shows month from date in B5
    B7 is user data to copy

    I'm looking for a formula for D7:O7 that will return the value in B7 based on the month in B6, so if B6="Feb" then E7="70" or if B6="Aug" then K7="70", but at the same time not affecting other cells in range D7:O7

    This is all to help me solve an a query I have in another post which I think is unachievable so I am trying different methods

    https://www.excelforum.com/excel-for...her-sheet.html

    If anyone has any ideas how I can solve this without VBA I would appreciate it

    TIA
    Attached Files Attached Files
    Last edited by ~TaC~; 12-15-2022 at 11:22 AM.

  2. #2
    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: Match / Copy cell to current month column

    It sounds like you want to have a formula AND a value in each of those cells. You can't (without VBA).

    The only workaround would be to use another row of cells to deliver the result:

    =IF($B$6=D6,$B$7,D7)

    copied across.
    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

  3. #3
    Registered User
    Join Date
    11-12-2017
    Location
    Stafford, England
    MS-Off Ver
    365
    Posts
    184

    Re: Match / Copy cell to current month column

    Thanks Glenn,

    Your formula worked enough to bring me to the result I was looking for in OP, changed last cell reference to ,"" to leave cell empty if not current month and VALUE is returned to same cell as FORMULA.

    So OP kind of solved however, how would I write the formula in attached updated file in cells F7:Q7 if I wanted the formula to be in cells F8:Q8 but VALUE still returned to F7:Q7? That way I could hide row 8 which contains formulas and copy down for more Data Sets.
    Attached Files Attached Files

+ 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: 9
    Last Post: 03-16-2022, 09:29 AM
  2. Replies: 7
    Last Post: 04-12-2020, 02:32 PM
  3. [SOLVED] Copy a particular cell in row if Month current
    By matrixpom in forum Excel General
    Replies: 6
    Last Post: 02-28-2019, 06:17 AM
  4. Copy formulas from one column to next column based on Current & Prior Month
    By balston2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2018, 08:59 PM
  5. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  6. Replies: 0
    Last Post: 09-18-2012, 11:47 AM
  7. [SOLVED] copy worksheet from previous month and rename to current month
    By Dan E. in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-08-2005, 05:45 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