Update stock when title and size matches between two Excel or Google Sheets

gamalelsaadawi

New Member
Joined
Nov 27, 2023
Messages
1
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
  2. Web
We have 2 sheets (Sheet 1) and (Sheet 2).
sheets1 has 3 columns (Title1) - (Size1) - (Stock1).
sheets2 has 3 columns (Title2) - (Size2) - (Stock2).
We want to update each cell in (Stock2) Column in (Sheet 2) when any cell in Title1 and size1 in sheet1 = any cell in Title2 and And Size2
**update value = "in-stock" in Stock2 when Stock1= "true" and = "out-stock" when Stock1= "false".
-If Title1 or Size1 doesn't match Title2 or Size2 don't update Stock2 and leave it as it is.
We want to
Is there a way to achieve that?
 

Attachments

  • Screenshot 2023-11-28 003420.png
    Screenshot 2023-11-28 003420.png
    6.5 KB · Views: 4
  • Screenshot 2023-11-28 003311.png
    Screenshot 2023-11-28 003311.png
    8.4 KB · Views: 5

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,216,545
Messages
6,131,286
Members
449,641
Latest member
paulabrink78

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