Good day...
Help me please...
A6:A9999 value = DEBIT or CREDIT
B6:B9999 value = Amount
if i change any value from A6:A9999
ex:
A6 = CREDIT
A10 = DEBIT
then it will change the amount sign of B6:B9999
ex:
B6 = -1,000.00
B10 = 5,000.00
Thanks...
Good day...
Help me please...
A6:A9999 value = DEBIT or CREDIT
B6:B9999 value = Amount
if i change any value from A6:A9999
ex:
A6 = CREDIT
A10 = DEBIT
then it will change the amount sign of B6:B9999
ex:
B6 = -1,000.00
B10 = 5,000.00
Thanks...
Here is a worksheet change event
Option Explicit
Open your VBE (Alt + F11), double click in the left window on the sheet you will be updatingPlease Login or Register to view this content.
Copy the above code and place it in the right window when it opens.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
This could work using a worksheet_change event
Place this code in the worksheet module
Please Login or Register to view this content.
Thank you guys... working great...
can you add also just in case column A value already filled with DEBIT or CREDIT then
if I type amount either negative or not then amount sign will automatically change
also based on column A value (vice versa)
Sir alansidman, it's work for one time changes only, but if I change it again the value in column A it didn't match
the amount sign
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks