Results 1 to 6 of 6

Thread: If condition: help needed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,521
    Rep Power
    10
    Hi

    To cover the situation of Single or blank meaning the same then the formula would be
    =IF(OR(E6="single",E6=""),IF(Payments!G6<=5,Payments!G6,5),If(Payments!G6<=10,Payments!G6,10))
    Worksheet: Subscriptions

    I think the following adaptation of that formula to your supplied data seems to give the result you wanted in the January column in Subs.

    So this is your Payments
    Row\Col
    E
    F
    G
    H
    1
    £29
    £0
    2
    3
    Status
    Subs Due
    Jan
    Feb
    4
    Single
    £60
    5
    Couple
    £120
    £25
    6
    Single
    £60
    £4
    7
    8
    Worksheet: 2018 Payments

    Here is the Subs worksheet:
    Row\Col
    E
    F
    G
    H
    1
    £14
    £0
    2
    3
    Status
    Subs Due
    Jan
    Feb
    4
    Single
    £60
    £0
    5
    Couple
    £120
    £10
    6
    Single
    £60
    £4
    7
    Worksheet: 2018 Subs
    Row\Col
    G
    4
    =IF(OR(E4="single",E4=""),IF('2018 Payments'!G4<=5,'2018 Payments'!G4,5),IF('2018 Payments'!G4<=10,'2018 Payments'!G4,10))
    5
    =IF(OR(E5="single",E5=""),IF('2018 Payments'!G5<=5,'2018 Payments'!G5,5),IF('2018 Payments'!G5<=10,'2018 Payments'!G5,10))
    6
    =IF(OR(E6="single",E6=""),IF('2018 Payments'!G6<=5,'2018 Payments'!G6,5),IF('2018 Payments'!G6<=10,'2018 Payments'!G6,10))
    Worksheet: 2018 Subs

    Alan
    Last edited by DocAElstein; 04-07-2018 at 03:04 PM.

  2. #2
    Junior Member
    Join Date
    Jul 2013
    Posts
    3
    Rep Power
    0
    Quote Originally Posted by DocAElstein View Post
    Hi

    To cover the situation of Single or blank meaning the same then the formula would be
    =IF(OR(E6="single",E6=""),IF(Payments!G6<=5,Payments!G6,5),IF(Payments!G6<=10,Payments!G6,10))
    Worksheet: Subscriptions

    I think the following adaptation of that formula to your supplied data seems to give the result you wanted in the January column in Subs.

    So this is your Payments
    Row\Col
    E
    F
    G
    H
    1
    £29
    £0
    2
    3
    Status
    Subs Due
    Jan
    Feb
    4
    Single
    £60
    5
    Couple
    £120
    £25
    6
    Single
    £60
    £4
    7
    8
    Worksheet: 2018 Payments

    Here is the Subs worksheet:
    Row\Col
    E
    F
    G
    H
    1
    £14
    £0
    2
    3
    Status
    Subs Due
    Jan
    Feb
    4
    Single
    £60
    £0
    5
    Couple
    £120
    £10
    6
    Single
    £60
    £4
    7
    Worksheet: 2018 Subs
    Row\Col
    G
    4
    =IF(OR(E4="single",E4=""),IF('2018 Payments'!G4<=5,'2018 Payments'!G4,5),IF('2018 Payments'!G4<=10,'2018 Payments'!G4,10))
    5
    =IF(OR(E5="single",E5=""),IF('2018 Payments'!G5<=5,'2018 Payments'!G5,5),IF('2018 Payments'!G5<=10,'2018 Payments'!G5,10))
    6
    =IF(OR(E6="single",E6=""),IF('2018 Payments'!G6<=5,'2018 Payments'!G6,5),IF('2018 Payments'!G6<=10,'2018 Payments'!G6,10))
    Worksheet: 2018 Subs

    Alan
    Thanks ever so much Alan, this works perfectly fine. I will let the trustees know about your invaluable contribution to the charity record keeping.

    Thanks once again

Similar Threads

  1. Replies: 19
    Last Post: 04-20-2019, 02:38 PM
  2. Vlookup help needed
    By AbuReem in forum Excel Help
    Replies: 15
    Last Post: 11-12-2013, 11:32 AM
  3. formulas needed please
    By paul_pearson in forum Excel Help
    Replies: 5
    Last Post: 03-21-2013, 04:43 PM
  4. Indirect Address Column Formula help needed
    By trankim in forum Excel Help
    Replies: 4
    Last Post: 10-13-2012, 02:15 PM
  5. Replies: 12
    Last Post: 05-27-2012, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •