Small help- in excel

madhanji

Board Regular
Joined
Jan 6, 2021
Messages
72
Office Version
  1. 2010
Platform
  1. Windows
Dear Seniors & Experts,
please request a small help in excel.

Column A have some Fruits and column B has the month ,
i need Result in "C" column based on the month order, not in fruits order.
for example , first time
i tried "Month formula abut not able to get desired result.
pls some one help me.

Thanks in advance.
 

Attachments

  • help.jpg
    help.jpg
    68.4 KB · Views: 19

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
your attachment is in conflict with what you wrote. and your formula is also wrong.
Column B does not have month it has a date value (I'm assuming it is a date value, but you have an image not a table/mini worksheet (See xl2bb link below).

Your formula in column C has Month(C2) when t should be Month(B2)

so try this:
Excel Formula:
=IF(Month(B2)-Month(Today())=2,"-III",
IF(Month(B2)-Month(Today())=1,"-II",
IF(Month(B2)-Month(Today())=0,"-I","ERROR")))
 
Upvote 0
i used the above your quoted formula ,but result not come like my attached snapshot ( the formula i quoted in attachment is for reference of what i tried )
ignore it, try your way to get result is as per expected result
pls i need result like my attachment
 
Upvote 0
Are your dates real dates ? Remove the manual alignment from that column. If the values are left-aligned they are text, not real dates ( formatting is irrelevant)
 
Upvote 0
S, my dates are real dates.
i just type from original excel to this for your reference..
just forget it sir..
need the result column in "c" like my attachment.
 
Upvote 0
Hi,
in 3rd row: mango 30-06-2023 ---> result: I
in 9th row: mango 30-06-2023 ---> result: III

(A3=A9 and B3=B9, C3 and C9 are different)

What is the result I or III based on?

help2.jpg
 
Upvote 0
S, my dates are real dates.
i just type from original excel to this for your reference..
just forget it sir..
need the result column in "c" like my attachment.

@madhanji,
You have had at least 3 people tell you in this thread that you have conflicts or problems with the image you posted.
the forum is trying to help you, yet you have refused to help the forum help you.

Please post an xl2bb mini workbook or at least a table of real data that you have. The best images are sometimes helpful, but yours is ambiguous and problematic.
 
Upvote 0
i used the above your quoted formula ,but result not come like my attached snapshot ( the formula i quoted in attachment is for reference of what i tried )
ignore it, try your way to get result is as per expected result
pls i need result like my attachment
as stated elsewhere in this thread your "expected" outcome is ambiguous.
 
Upvote 0
Hi,
in 3rd row: mango 30-06-2023 ---> result: I
in 9th row: mango 30-06-2023 ---> result: III

(A3=A9 and B3=B9, C3 and C9 are different)

What is the result I or III based on?

View attachment 90686
Dear @fjns ,you are right, its my typo mistake, A9:C9 SHOULD BE "II" allothers are correct and expect same result in column C

SORRY TO ALL @awoohaw @arthurbr , i dont know how to use XL2BB,I LEARN FIRST HOW TO USE XL2BB IN THIS FORUM..:oops:
 
Upvote 0

Forum statistics

Threads
1,215,566
Messages
6,125,593
Members
449,237
Latest member
Chase S

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