Update cell value based on another cell value

bryanxchoo

New Member
Joined
Feb 8, 2014
Messages
10
Hello,
Been trying hard to create the formula for my excel spreadsheet.

Example:
Sheet1
-------------------
A1 value is John
A2 value is Peter
A3 value is Ali
A4 value is Mary

B1 value is 1
B2 value is 0
B3 value is 3
B4 value is 1

Sheet2
-----------------------
A1 value is John
A2 value is Ali
A3 value is Ali
A4 value is Ali
A5 value is Mary

New sheet with value based on B1:B4 value

Is this possible with without VBA, only formula?

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You need vlookup. Loads and loads of examples to try to understand its use. If you get stuck come back.
 
Upvote 0
You need vlookup. Loads and loads of examples to try to understand its use. If you get stuck come back.

I tried vlookup but it doesn't serve what I need.

John have 1 so sheet2 will have 1 cell with his name.
Ali have 3 so sheet2 will have 3 cell with his name below john
Mary have 1 so sheet2 will have 1 cell with her name

Thanks for replying.
 
Upvote 0
Hello @bryanxchoo
If you can elaborate more on this, meaning if u can post sample data in table form here (like this)

<tbody></tbody>

DATA
dates/particulars
PPQ80
NPR168
STP2424
QSF00
PPM9824

<colgroup><col span="3"></colgroup><tbody>
</tbody>

and what you want after the formula is built up (in sample-of course), me or someone can help !!

Thanks !
 
Upvote 0
Hello @bryanxchoo
If you can elaborate more on this, meaning if u can post sample data in table form here (like this)

DATAdates/particulars
PPQ80
NPR168
STP2424
QSF00
PPM9824

<tbody>
</tbody>

and what you want after the formula is built up (in sample-of course), me or someone can help !!

Thanks !

Here is the table
NameNumber of sale
John1
Peter0
Ali3
Mary1

<tbody>
</tbody>

Another sheet will appeared this
John
Ali
Ali
Ali
Mary

<tbody>
</tbody>

John will have 1 row, Ali will have 3 and mary have 1, based on the first table.

Hope everything clear.

Thanks
 
Upvote 0

Forum statistics

Threads
1,222,045
Messages
6,163,587
Members
451,846
Latest member
ajk99

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