formula if one of adacent cell contains value more than zero , return value

Maklil

Board Regular
Joined
Jun 23, 2022
Messages
143
Office Version
  1. 2019
Platform
  1. Windows
Hello
I want populating value in adjacent cell in column F based on column C or D ,if one of columns C or D contains value bigger zero ,then should populate the value in adjacant value in column F ,otherwise should populate zero whether contains column C,D together zero or empty .
Maklil.xlsm
ABCDEF
1ITEM BRANDPURCHASESALESBALANCEFORMULA
21ref-air100011011011
32ref-air100101022010
43ref-air1002003000
54ref-air1003001000
65ref-air10041111011
76ref-air10052000
sheet1

thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Would this work for you? .. or does it need something different if both columns are > 0? (no sample like that was given)

22 09 25.xlsm
CDEF
1PURCHASESALESBALANCEFORMULA
211011011
301022010
4003000
5001000
61111011
72000
Maklil
Cell Formulas
RangeFormula
F2:F7F2=MAX(C2:D2)
 
Upvote 0
Solution
or does it need something different if both columns are > 0?
the most important gives the value bigger than zero , that's it .
impressive simple ! I thought needing multiple formuals overlapping each other
many thanks master . :)
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top