+ Reply to Thread
Results 1 to 2 of 2

If statement (circular references)

  1. #1
    Registered User
    Join Date
    01-19-2021
    Location
    US
    MS-Off Ver
    Windows 10
    Posts
    1

    If statement (circular references)

    Hello, I believe my If Statement may need to be in a VBA. I've tried to figure out how VBA works for this specific situation, I'm completely lost.

    I need the quantity in relation to the date in sheet 1 to update in sheet 2. So if the date changes the quantity for that specific date will change. The other dates remain untouched.

    I was using formula =IF(Date=Date, Quantity, Quantity(Unchanged qty if false) which is =IF(B2='Sheet 1'!B$2,'Sheet 1'!B$2,C4)

    Sheet 1
    A B
    1 Date: 1/21/2021
    2 Quantity: 45

    Sheet 2
    A B
    1 Date Qty
    2 1/21/2021 45
    3 2/21/2021
    4 3/21/2021
    5 4/21/2021
    ...
    Last edited by Lynnette83; 01-19-2021 at 02:23 PM. Reason: Resolved

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: If statement (circular references)

    would a lookup work ?
    can you post a sample sheet as indicated by the yellow banner
    Also include you expected results in the sheet

    you also have the thread SOLVED - so if its NOT solved, then you need to change the status - see my signature
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Circular References
    By Koda925 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2018, 10:56 AM
  2. Replies: 2
    Last Post: 02-23-2014, 06:06 PM
  3. Non circular references
    By jammerculture in forum Excel General
    Replies: 8
    Last Post: 05-29-2010, 09:43 PM
  4. Circular References
    By ElmerS in forum Excel General
    Replies: 2
    Last Post: 04-16-2010, 02:36 AM
  5. Circular References
    By frenzel2k in forum Excel General
    Replies: 0
    Last Post: 10-10-2007, 06:11 PM
  6. [SOLVED] Those Circular References...
    By JeremyH1982 in forum Excel General
    Replies: 4
    Last Post: 05-22-2006, 05:55 PM
  7. Circular references
    By R.Hocking in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-02-2006, 02:55 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